Package org.eclipse.jetty.http
Class PrecompressedHttpContent
- java.lang.Object
-
- org.eclipse.jetty.http.PrecompressedHttpContent
-
- All Implemented Interfaces:
HttpContent
- Direct Known Subclasses:
CachedContentFactory.CachedPrecompressedHttpContent
@Deprecated(since="2021-05-27") public class PrecompressedHttpContent extends Object implements HttpContent
Deprecated.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.http.HttpContent
HttpContent.ContentFactory
-
-
Constructor Summary
Constructors Constructor Description PrecompressedHttpContent(HttpContent content, HttpContent precompressedContent, CompressedContentFormat format)
Deprecated.
-
Method Summary
-
-
-
Constructor Detail
-
PrecompressedHttpContent
public PrecompressedHttpContent(HttpContent content, HttpContent precompressedContent, CompressedContentFormat format)
Deprecated.
-
-
Method Detail
-
getResource
public Resource getResource()
Deprecated.- Specified by:
getResource
in interfaceHttpContent
-
getETag
public HttpField getETag()
Deprecated.- Specified by:
getETag
in interfaceHttpContent
-
getETagValue
public String getETagValue()
Deprecated.- Specified by:
getETagValue
in interfaceHttpContent
-
getLastModified
public HttpField getLastModified()
Deprecated.- Specified by:
getLastModified
in interfaceHttpContent
-
getLastModifiedValue
public String getLastModifiedValue()
Deprecated.- Specified by:
getLastModifiedValue
in interfaceHttpContent
-
getContentType
public HttpField getContentType()
Deprecated.- Specified by:
getContentType
in interfaceHttpContent
-
getContentTypeValue
public String getContentTypeValue()
Deprecated.- Specified by:
getContentTypeValue
in interfaceHttpContent
-
getContentEncoding
public HttpField getContentEncoding()
Deprecated.- Specified by:
getContentEncoding
in interfaceHttpContent
-
getContentEncodingValue
public String getContentEncodingValue()
Deprecated.- Specified by:
getContentEncodingValue
in interfaceHttpContent
-
getCharacterEncoding
public String getCharacterEncoding()
Deprecated.- Specified by:
getCharacterEncoding
in interfaceHttpContent
-
getMimeType
public MimeTypes.Type getMimeType()
Deprecated.- Specified by:
getMimeType
in interfaceHttpContent
-
release
public void release()
Deprecated.- Specified by:
release
in interfaceHttpContent
-
getIndirectBuffer
public ByteBuffer getIndirectBuffer()
Deprecated.- Specified by:
getIndirectBuffer
in interfaceHttpContent
-
getDirectBuffer
public ByteBuffer getDirectBuffer()
Deprecated.- Specified by:
getDirectBuffer
in interfaceHttpContent
-
getContentLength
public HttpField getContentLength()
Deprecated.- Specified by:
getContentLength
in interfaceHttpContent
-
getContentLengthValue
public long getContentLengthValue()
Deprecated.- Specified by:
getContentLengthValue
in interfaceHttpContent
-
getInputStream
public InputStream getInputStream() throws IOException
Deprecated.- Specified by:
getInputStream
in interfaceHttpContent
- Throws:
IOException
-
getReadableByteChannel
public ReadableByteChannel getReadableByteChannel() throws IOException
Deprecated.- Specified by:
getReadableByteChannel
in interfaceHttpContent
- Throws:
IOException
-
getPrecompressedContents
public Map<CompressedContentFormat,HttpContent> getPrecompressedContents()
Deprecated.- Specified by:
getPrecompressedContents
in interfaceHttpContent
-
-