public class ResourceCache.Content extends Object implements HttpContent
HttpContent.ResourceAsHttpContent| Modifier and Type | Method and Description |
|---|---|
long |
getContentLength() |
org.eclipse.jetty.io.Buffer |
getContentType() |
org.eclipse.jetty.io.Buffer |
getDirectBuffer() |
org.eclipse.jetty.io.Buffer |
getETag() |
org.eclipse.jetty.io.Buffer |
getIndirectBuffer() |
InputStream |
getInputStream() |
String |
getKey() |
org.eclipse.jetty.io.Buffer |
getLastModified() |
org.eclipse.jetty.util.resource.Resource |
getResource() |
protected void |
invalidate() |
boolean |
isCached() |
boolean |
isMiss() |
void |
release() |
String |
toString() |
public String getKey()
public boolean isCached()
public boolean isMiss()
public org.eclipse.jetty.util.resource.Resource getResource()
getResource in interface HttpContentpublic org.eclipse.jetty.io.Buffer getETag()
getETag in interface HttpContentprotected void invalidate()
public org.eclipse.jetty.io.Buffer getLastModified()
getLastModified in interface HttpContentpublic org.eclipse.jetty.io.Buffer getContentType()
getContentType in interface HttpContentpublic void release()
release in interface HttpContentpublic org.eclipse.jetty.io.Buffer getIndirectBuffer()
getIndirectBuffer in interface HttpContentpublic org.eclipse.jetty.io.Buffer getDirectBuffer()
getDirectBuffer in interface HttpContentpublic long getContentLength()
getContentLength in interface HttpContentpublic InputStream getInputStream() throws IOException
getInputStream in interface HttpContentIOExceptionCopyright © 1995-2016 Mort Bay Consulting. All Rights Reserved.