Package org.eclipse.jetty.http
Class PrecompressedHttpContent
java.lang.Object
org.eclipse.jetty.http.PrecompressedHttpContent
- All Implemented Interfaces:
HttpContent
- Direct Known Subclasses:
CachedContentFactory.CachedPrecompressedHttpContent
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.http.HttpContent
HttpContent.ContentFactory
-
Constructor Summary
ConstructorDescriptionPrecompressedHttpContent
(HttpContent content, HttpContent precompressedContent, CompressedContentFormat format) -
Method Summary
-
Constructor Details
-
PrecompressedHttpContent
public PrecompressedHttpContent(HttpContent content, HttpContent precompressedContent, CompressedContentFormat format)
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
getResource
- Specified by:
getResource
in interfaceHttpContent
-
getETag
- Specified by:
getETag
in interfaceHttpContent
-
getETagValue
- Specified by:
getETagValue
in interfaceHttpContent
-
getLastModified
- Specified by:
getLastModified
in interfaceHttpContent
-
getLastModifiedValue
- Specified by:
getLastModifiedValue
in interfaceHttpContent
-
getContentType
- Specified by:
getContentType
in interfaceHttpContent
-
getContentTypeValue
- Specified by:
getContentTypeValue
in interfaceHttpContent
-
getContentEncoding
- Specified by:
getContentEncoding
in interfaceHttpContent
-
getContentEncodingValue
- Specified by:
getContentEncodingValue
in interfaceHttpContent
-
getCharacterEncoding
- Specified by:
getCharacterEncoding
in interfaceHttpContent
-
getMimeType
- Specified by:
getMimeType
in interfaceHttpContent
-
release
public void release()- Specified by:
release
in interfaceHttpContent
-
getIndirectBuffer
- Specified by:
getIndirectBuffer
in interfaceHttpContent
-
getDirectBuffer
- Specified by:
getDirectBuffer
in interfaceHttpContent
-
getContentLength
- Specified by:
getContentLength
in interfaceHttpContent
-
getContentLengthValue
public long getContentLengthValue()- Specified by:
getContentLengthValue
in interfaceHttpContent
-
getInputStream
- Specified by:
getInputStream
in interfaceHttpContent
- Throws:
IOException
-
getReadableByteChannel
- Specified by:
getReadableByteChannel
in interfaceHttpContent
- Throws:
IOException
-
toString
-
getPrecompressedContents
- Specified by:
getPrecompressedContents
in interfaceHttpContent
-