public class ResourceCache.CachedHttpContent extends Object implements HttpContent
HttpContent.Factory| 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() |
HttpContent |
getGzipContent() |
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 HttpContentpublic HttpField getETag()
getETag in interface HttpContentpublic String getETagValue()
getETagValue in interface HttpContentprotected void invalidate()
public 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 HttpContent getGzipContent()
getGzipContent in interface HttpContentCopyright © 1995–2017 Webtide. All rights reserved.