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:
getResourcein interfaceHttpContent
-
getETag
public HttpField getETag()
Deprecated.- Specified by:
getETagin interfaceHttpContent
-
getETagValue
public String getETagValue()
Deprecated.- Specified by:
getETagValuein interfaceHttpContent
-
getLastModified
public HttpField getLastModified()
Deprecated.- Specified by:
getLastModifiedin interfaceHttpContent
-
getLastModifiedValue
public String getLastModifiedValue()
Deprecated.- Specified by:
getLastModifiedValuein interfaceHttpContent
-
getContentType
public HttpField getContentType()
Deprecated.- Specified by:
getContentTypein interfaceHttpContent
-
getContentTypeValue
public String getContentTypeValue()
Deprecated.- Specified by:
getContentTypeValuein interfaceHttpContent
-
getContentEncoding
public HttpField getContentEncoding()
Deprecated.- Specified by:
getContentEncodingin interfaceHttpContent
-
getContentEncodingValue
public String getContentEncodingValue()
Deprecated.- Specified by:
getContentEncodingValuein interfaceHttpContent
-
getCharacterEncoding
public String getCharacterEncoding()
Deprecated.- Specified by:
getCharacterEncodingin interfaceHttpContent
-
getMimeType
public MimeTypes.Type getMimeType()
Deprecated.- Specified by:
getMimeTypein interfaceHttpContent
-
release
public void release()
Deprecated.- Specified by:
releasein interfaceHttpContent
-
getIndirectBuffer
public ByteBuffer getIndirectBuffer()
Deprecated.- Specified by:
getIndirectBufferin interfaceHttpContent
-
getDirectBuffer
public ByteBuffer getDirectBuffer()
Deprecated.- Specified by:
getDirectBufferin interfaceHttpContent
-
getContentLength
public HttpField getContentLength()
Deprecated.- Specified by:
getContentLengthin interfaceHttpContent
-
getContentLengthValue
public long getContentLengthValue()
Deprecated.- Specified by:
getContentLengthValuein interfaceHttpContent
-
getInputStream
public InputStream getInputStream() throws IOException
Deprecated.- Specified by:
getInputStreamin interfaceHttpContent- Throws:
IOException
-
getReadableByteChannel
public ReadableByteChannel getReadableByteChannel() throws IOException
Deprecated.- Specified by:
getReadableByteChannelin interfaceHttpContent- Throws:
IOException
-
getPrecompressedContents
public Map<CompressedContentFormat,HttpContent> getPrecompressedContents()
Deprecated.- Specified by:
getPrecompressedContentsin interfaceHttpContent
-
-