| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public Long | |
| public String | |
| public ETag | |
| public File | Returns: The underlying file that matches the resource. This may return null if the resource does not map to a file
|
| public Path | Returns: The underlying file that matches the resource. This may return null if the resource does not map to a file
|
| public Date | Returns: The last modified date of this resource, or null if this cannot be determined
|
| public String | Returns: A string representation of the last modified date, or null if this cannot be determined
|
| public String | |
| public String | |
| public File | Returns: a file representing the resource manager root. This may return null if the resource does not map to a fileReturns the resource manager root. |
| public Path | Returns: a path representing the resource manager root. This may return null if the resource does not map to a fileReturns the resource manager root. |
| public URL | |
| public boolean | |
| public List | |
| public void | serve(final Sender
The sender to use. sender, final HttpServerExchange The exchange exchange, final IoCallback completionCallback)Serve the resource, and call the provided callback when complete. |
| getCacheKey | back to summary |
|---|---|
public String getCacheKey()
| |
| getContentLength | back to summary |
|---|---|
public Long getContentLength()
| |
| getContentType | back to summary |
|---|---|
| public String getContentType(final MimeMappings mimeMappings) Return the resources content type. In most cases this will simply use the provided mime mappings, however in some cases the resource may have additional information as to the actual content type. | |
| getETag | back to summary |
|---|---|
public ETag getETag()
| |
| getFile | back to summary |
|---|---|
public File getFile()
| |
| getFilePath | back to summary |
|---|---|
public Path getFilePath()
| |
| getLastModified | back to summary |
|---|---|
public Date getLastModified()
| |
| getLastModifiedString | back to summary |
|---|---|
public String getLastModifiedString()
| |
| getName | back to summary |
|---|---|
public String getName()
| |
| getPath | back to summary |
|---|---|
public String getPath()
| |
| getResourceManagerRoot | back to summary |
|---|---|
| public File getResourceManagerRoot() Returns the resource manager root. If the resource manager has multiple roots then this returns the one that is the parent of this resource.
| |
| getResourceManagerRootPath | back to summary |
|---|---|
| public Path getResourceManagerRootPath() Returns the resource manager root. If the resource manager has multiple roots then this returns the one that is the parent of this resource.
| |
| getUrl | back to summary |
|---|---|
public URL getUrl()
| |
| isDirectory | back to summary |
|---|---|
public boolean isDirectory()
| |
| list | back to summary |
|---|---|
| public List | |
| serve | back to summary |
|---|---|
| public void serve(final Sender sender, final HttpServerExchange exchange, final IoCallback completionCallback) Serve the resource, and call the provided callback when complete.
| |