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 java.lang.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
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Deprecated.java.lang.String
getCharacterEncoding()
Deprecated.HttpField
getContentEncoding()
Deprecated.java.lang.String
getContentEncodingValue()
Deprecated.HttpField
getContentLength()
Deprecated.long
getContentLengthValue()
Deprecated.HttpField
getContentType()
Deprecated.java.lang.String
getContentTypeValue()
Deprecated.java.nio.ByteBuffer
getDirectBuffer()
Deprecated.HttpField
getETag()
Deprecated.java.lang.String
getETagValue()
Deprecated.java.nio.ByteBuffer
getIndirectBuffer()
Deprecated.java.io.InputStream
getInputStream()
Deprecated.HttpField
getLastModified()
Deprecated.java.lang.String
getLastModifiedValue()
Deprecated.MimeTypes.Type
getMimeType()
Deprecated.java.util.Map<CompressedContentFormat,HttpContent>
getPrecompressedContents()
Deprecated.java.nio.channels.ReadableByteChannel
getReadableByteChannel()
Deprecated.Resource
getResource()
Deprecated.int
hashCode()
Deprecated.void
release()
Deprecated.java.lang.String
toString()
Deprecated.
-
-
-
Constructor Detail
-
PrecompressedHttpContent
public PrecompressedHttpContent(HttpContent content, HttpContent precompressedContent, CompressedContentFormat format)
Deprecated.
-
-
Method Detail
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
Deprecated.- Overrides:
equals
in classjava.lang.Object
-
getResource
public Resource getResource()
Deprecated.- Specified by:
getResource
in interfaceHttpContent
-
getETag
public HttpField getETag()
Deprecated.- Specified by:
getETag
in interfaceHttpContent
-
getETagValue
public java.lang.String getETagValue()
Deprecated.- Specified by:
getETagValue
in interfaceHttpContent
-
getLastModified
public HttpField getLastModified()
Deprecated.- Specified by:
getLastModified
in interfaceHttpContent
-
getLastModifiedValue
public java.lang.String getLastModifiedValue()
Deprecated.- Specified by:
getLastModifiedValue
in interfaceHttpContent
-
getContentType
public HttpField getContentType()
Deprecated.- Specified by:
getContentType
in interfaceHttpContent
-
getContentTypeValue
public java.lang.String getContentTypeValue()
Deprecated.- Specified by:
getContentTypeValue
in interfaceHttpContent
-
getContentEncoding
public HttpField getContentEncoding()
Deprecated.- Specified by:
getContentEncoding
in interfaceHttpContent
-
getContentEncodingValue
public java.lang.String getContentEncodingValue()
Deprecated.- Specified by:
getContentEncodingValue
in interfaceHttpContent
-
getCharacterEncoding
public java.lang.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 java.nio.ByteBuffer getIndirectBuffer()
Deprecated.- Specified by:
getIndirectBuffer
in interfaceHttpContent
-
getDirectBuffer
public java.nio.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 java.io.InputStream getInputStream() throws java.io.IOException
Deprecated.- Specified by:
getInputStream
in interfaceHttpContent
- Throws:
java.io.IOException
-
getReadableByteChannel
public java.nio.channels.ReadableByteChannel getReadableByteChannel() throws java.io.IOException
Deprecated.- Specified by:
getReadableByteChannel
in interfaceHttpContent
- Throws:
java.io.IOException
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
getPrecompressedContents
public java.util.Map<CompressedContentFormat,HttpContent> getPrecompressedContents()
Deprecated.- Specified by:
getPrecompressedContents
in interfaceHttpContent
-
-