public interface RangeAwareResource extends Resource
| Modifier and Type | Method and Description | 
|---|---|
| boolean | isRangeSupported()It is possible that some resources managers may only support range requests on a subset of their resources, | 
| void | serveRange(Sender sender,
          HttpServerExchange exchange,
          long start,
          long end,
          IoCallback completionCallback)Serve the resource, and call the provided callback when complete. | 
getCacheKey, getContentLength, getContentType, getETag, getFile, getFilePath, getLastModified, getLastModifiedString, getName, getPath, getResourceManagerRoot, getResourceManagerRootPath, getUrl, isDirectory, list, servevoid serveRange(Sender sender, HttpServerExchange exchange, long start, long end, IoCallback completionCallback)
sender - The sender to use.exchange - The exchangeboolean isRangeSupported()
true if this resource supports range requestsCopyright © 2019 JBoss by Red Hat. All rights reserved.