protected static class DynamicResourceManager.MyResource extends Object implements io.undertow.server.handlers.resource.Resource
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
bytes |
protected String |
finalP |
protected Date |
lastModified |
protected String |
p0 |
protected String |
resType |
| Constructor and Description |
|---|
MyResource(String p0,
String finalP,
byte[] bytes,
String resType,
Date lastStartup) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCacheKey() |
Long |
getContentLength() |
String |
getContentType(io.undertow.util.MimeMappings mimeMappings) |
io.undertow.util.ETag |
getETag() |
File |
getFile() |
Date |
getLastModified() |
String |
getLastModifiedString() |
String |
getName() |
String |
getPath() |
File |
getResourceManagerRoot() |
URL |
getUrl() |
boolean |
isDirectory() |
List<io.undertow.server.handlers.resource.Resource> |
list() |
void |
serve(io.undertow.io.Sender sender,
io.undertow.server.HttpServerExchange exchange,
io.undertow.io.IoCallback completionCallback) |
protected String p0
protected String finalP
protected byte[] bytes
protected String resType
protected Date lastModified
public String getPath()
getPath in interface io.undertow.server.handlers.resource.Resourcepublic Date getLastModified()
getLastModified in interface io.undertow.server.handlers.resource.Resourcepublic String getLastModifiedString()
getLastModifiedString in interface io.undertow.server.handlers.resource.Resourcepublic io.undertow.util.ETag getETag()
getETag in interface io.undertow.server.handlers.resource.Resourcepublic String getName()
getName in interface io.undertow.server.handlers.resource.Resourcepublic boolean isDirectory()
isDirectory in interface io.undertow.server.handlers.resource.Resourcepublic List<io.undertow.server.handlers.resource.Resource> list()
list in interface io.undertow.server.handlers.resource.Resourcepublic String getContentType(io.undertow.util.MimeMappings mimeMappings)
getContentType in interface io.undertow.server.handlers.resource.Resourcepublic void serve(io.undertow.io.Sender sender,
io.undertow.server.HttpServerExchange exchange,
io.undertow.io.IoCallback completionCallback)
serve in interface io.undertow.server.handlers.resource.Resourcepublic Long getContentLength()
getContentLength in interface io.undertow.server.handlers.resource.Resourcepublic String getCacheKey()
getCacheKey in interface io.undertow.server.handlers.resource.Resourcepublic File getFile()
getFile in interface io.undertow.server.handlers.resource.Resourcepublic File getResourceManagerRoot()
getResourceManagerRoot in interface io.undertow.server.handlers.resource.Resourcepublic URL getUrl()
getUrl in interface io.undertow.server.handlers.resource.ResourceCopyright © 2016. All rights reserved.