Package org.eclipse.jetty.server
Class CachedContentFactory.CachedPrecompressedHttpContent
- java.lang.Object
-
- org.eclipse.jetty.http.PrecompressedHttpContent
-
- org.eclipse.jetty.server.CachedContentFactory.CachedPrecompressedHttpContent
-
- All Implemented Interfaces:
HttpContent
- Enclosing class:
- CachedContentFactory
public class CachedContentFactory.CachedPrecompressedHttpContent extends PrecompressedHttpContent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.http.HttpContent
HttpContent.ContentFactory
-
-
Field Summary
Fields Modifier and Type Field Description private CachedContentFactory.CachedHttpContent
_content
private HttpField
_etag
private CachedContentFactory.CachedHttpContent
_precompressedContent
-
Constructor Summary
Constructors Constructor Description CachedPrecompressedHttpContent(CachedContentFactory.CachedHttpContent content, CachedContentFactory.CachedHttpContent precompressedContent, CompressedContentFormat format)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpField
getETag()
java.lang.String
getETagValue()
boolean
isValid()
java.lang.String
toString()
-
Methods inherited from class org.eclipse.jetty.http.PrecompressedHttpContent
equals, getCharacterEncoding, getContentEncoding, getContentEncodingValue, getContentLength, getContentLengthValue, getContentType, getContentTypeValue, getDirectBuffer, getIndirectBuffer, getInputStream, getLastModified, getLastModifiedValue, getMimeType, getPrecompressedContents, getReadableByteChannel, getResource, hashCode, release
-
-
-
-
Field Detail
-
_content
private final CachedContentFactory.CachedHttpContent _content
-
_precompressedContent
private final CachedContentFactory.CachedHttpContent _precompressedContent
-
_etag
private final HttpField _etag
-
-
Constructor Detail
-
CachedPrecompressedHttpContent
CachedPrecompressedHttpContent(CachedContentFactory.CachedHttpContent content, CachedContentFactory.CachedHttpContent precompressedContent, CompressedContentFormat format)
-
-
Method Detail
-
isValid
public boolean isValid()
-
getETag
public HttpField getETag()
- Specified by:
getETag
in interfaceHttpContent
- Overrides:
getETag
in classPrecompressedHttpContent
-
getETagValue
public java.lang.String getETagValue()
- Specified by:
getETagValue
in interfaceHttpContent
- Overrides:
getETagValue
in classPrecompressedHttpContent
-
toString
public java.lang.String toString()
- Overrides:
toString
in classPrecompressedHttpContent
-
-