public class CachedContentFactory.CachedHttpContent
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCharacterEncoding() |
HttpField |
getContentEncoding() |
java.lang.String |
getContentEncodingValue() |
HttpField |
getContentLength() |
long |
getContentLengthValue() |
HttpField |
getContentType() |
java.lang.String |
getContentTypeValue() |
java.nio.ByteBuffer |
getDirectBuffer() |
HttpField |
getETag() |
java.lang.String |
getETagValue() |
java.nio.ByteBuffer |
getIndirectBuffer() |
java.io.InputStream |
getInputStream() |
java.lang.String |
getKey() |
HttpField |
getLastModified() |
java.lang.String |
getLastModifiedValue() |
Type |
getMimeType() |
java.util.Map<CompressedContentFormat,? extends HttpContent> |
getPrecompressedContents() |
java.nio.channels.ReadableByteChannel |
getReadableByteChannel() |
Resource |
getResource() |
protected void |
invalidate() |
boolean |
isCached() |
void |
release() |
java.lang.String |
toString() |
public java.lang.String getKey()
public boolean isCached()
public Resource getResource()
public HttpField getETag()
public java.lang.String getETagValue()
protected void invalidate()
public HttpField getLastModified()
public java.lang.String getLastModifiedValue()
public HttpField getContentType()
public java.lang.String getContentTypeValue()
public HttpField getContentEncoding()
public java.lang.String getContentEncodingValue()
public java.lang.String getCharacterEncoding()
public Type getMimeType()
public void release()
public java.nio.ByteBuffer getIndirectBuffer()
public java.nio.ByteBuffer getDirectBuffer()
public HttpField getContentLength()
public long getContentLengthValue()
public java.io.InputStream getInputStream()
throws java.io.IOException
java.io.IOExceptionpublic java.nio.channels.ReadableByteChannel getReadableByteChannel()
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.util.Map<CompressedContentFormat,? extends HttpContent> getPrecompressedContents()