public class ResourceCache.CachedHttpContent extends Object implements HttpContent
Modifier and Type | Method and Description |
---|---|
String |
getCharacterEncoding() |
HttpField |
getContentLength() |
long |
getContentLengthValue() |
HttpField |
getContentType() |
String |
getContentTypeValue() |
ByteBuffer |
getDirectBuffer() |
HttpField |
getETag() |
String |
getETagValue() |
ByteBuffer |
getIndirectBuffer() |
InputStream |
getInputStream() |
String |
getKey() |
HttpField |
getLastModified() |
String |
getLastModifiedValue() |
MimeTypes.Type |
getMimeType() |
ReadableByteChannel |
getReadableByteChannel() |
Resource |
getResource() |
protected void |
invalidate() |
boolean |
isCached() |
boolean |
isMiss() |
void |
release() |
String |
toString() |
public String getKey()
public boolean isCached()
public boolean isMiss()
public Resource getResource()
getResource
in interface HttpContent
public HttpField getETag()
getETag
in interface HttpContent
public String getETagValue()
getETagValue
in interface HttpContent
protected void invalidate()
public HttpField getLastModified()
getLastModified
in interface HttpContent
public String getLastModifiedValue()
getLastModifiedValue
in interface HttpContent
public HttpField getContentType()
getContentType
in interface HttpContent
public String getContentTypeValue()
getContentTypeValue
in interface HttpContent
public String getCharacterEncoding()
getCharacterEncoding
in interface HttpContent
public MimeTypes.Type getMimeType()
getMimeType
in interface HttpContent
public void release()
release
in interface HttpContent
public ByteBuffer getIndirectBuffer()
getIndirectBuffer
in interface HttpContent
public ByteBuffer getDirectBuffer()
getDirectBuffer
in interface HttpContent
public HttpField getContentLength()
getContentLength
in interface HttpContent
public long getContentLengthValue()
getContentLengthValue
in interface HttpContent
public InputStream getInputStream() throws IOException
getInputStream
in interface HttpContent
IOException
public ReadableByteChannel getReadableByteChannel() throws IOException
getReadableByteChannel
in interface HttpContent
IOException
Copyright © 1995-2015 Webtide. All Rights Reserved.