Package org.eclipse.jetty.server
Class CachedContentFactory.CachedHttpContent
java.lang.Object
org.eclipse.jetty.server.CachedContentFactory.CachedHttpContent
- All Implemented Interfaces:
HttpContent
- Enclosing class:
- CachedContentFactory
MetaData associated with a context Resource.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.http.HttpContent
HttpContent.ContentFactory -
Method Summary
Modifier and TypeMethodDescriptionlonggetETag()getKey()Map<CompressedContentFormat,? extends HttpContent> protected voidbooleanisCached()voidrelease()toString()
-
Method Details
-
getKey
-
isCached
public boolean isCached() -
getResource
- Specified by:
getResourcein interfaceHttpContent
-
getETag
- Specified by:
getETagin interfaceHttpContent
-
getETagValue
- Specified by:
getETagValuein interfaceHttpContent
-
invalidate
protected void invalidate() -
getLastModified
- Specified by:
getLastModifiedin interfaceHttpContent
-
getLastModifiedValue
- Specified by:
getLastModifiedValuein interfaceHttpContent
-
getContentType
- Specified by:
getContentTypein interfaceHttpContent
-
getContentTypeValue
- Specified by:
getContentTypeValuein interfaceHttpContent
-
getContentEncoding
- Specified by:
getContentEncodingin interfaceHttpContent
-
getContentEncodingValue
- Specified by:
getContentEncodingValuein interfaceHttpContent
-
getCharacterEncoding
- Specified by:
getCharacterEncodingin interfaceHttpContent
-
getMimeType
- Specified by:
getMimeTypein interfaceHttpContent
-
release
public void release()- Specified by:
releasein interfaceHttpContent
-
getIndirectBuffer
- Specified by:
getIndirectBufferin interfaceHttpContent
-
getDirectBuffer
- Specified by:
getDirectBufferin interfaceHttpContent
-
getContentLength
- Specified by:
getContentLengthin interfaceHttpContent
-
getContentLengthValue
public long getContentLengthValue()- Specified by:
getContentLengthValuein interfaceHttpContent
-
getInputStream
- Specified by:
getInputStreamin interfaceHttpContent- Throws:
IOException
-
getReadableByteChannel
- Specified by:
getReadableByteChannelin interfaceHttpContent- Throws:
IOException
-
toString
-
getPrecompressedContents
- Specified by:
getPrecompressedContentsin interfaceHttpContent
-