public class CachedContentFactory.CachedHttpContent extends Object implements HttpContent
HttpContent.ContentFactory| Modifier and Type | Method and Description |
|---|---|
String |
getCharacterEncoding() |
HttpField |
getContentEncoding() |
String |
getContentEncodingValue() |
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() |
Map<CompressedContentFormat,? extends HttpContent> |
getPrecompressedContents() |
ReadableByteChannel |
getReadableByteChannel() |
Resource |
getResource() |
boolean |
isCached() |
void |
release() |
String |
toString() |
public String getKey()
public boolean isCached()
public Resource getResource()
getResource in interface HttpContentpublic HttpField getETag()
getETag in interface HttpContentpublic String getETagValue()
getETagValue in interface HttpContentpublic HttpField getLastModified()
getLastModified in interface HttpContentpublic String getLastModifiedValue()
getLastModifiedValue in interface HttpContentpublic HttpField getContentType()
getContentType in interface HttpContentpublic String getContentTypeValue()
getContentTypeValue in interface HttpContentpublic HttpField getContentEncoding()
getContentEncoding in interface HttpContentpublic String getContentEncodingValue()
getContentEncodingValue in interface HttpContentpublic String getCharacterEncoding()
getCharacterEncoding in interface HttpContentpublic MimeTypes.Type getMimeType()
getMimeType in interface HttpContentpublic void release()
release in interface HttpContentpublic ByteBuffer getIndirectBuffer()
getIndirectBuffer in interface HttpContentpublic ByteBuffer getDirectBuffer()
getDirectBuffer in interface HttpContentpublic HttpField getContentLength()
getContentLength in interface HttpContentpublic long getContentLengthValue()
getContentLengthValue in interface HttpContentpublic InputStream getInputStream() throws IOException
getInputStream in interface HttpContentIOExceptionpublic ReadableByteChannel getReadableByteChannel() throws IOException
getReadableByteChannel in interface HttpContentIOExceptionpublic Map<CompressedContentFormat,? extends HttpContent> getPrecompressedContents()
getPrecompressedContents in interface HttpContentCopyright © 2010 - 2020 Adobe. All Rights Reserved