Package org.eclipse.jetty.http
Interface HttpContent
-
- All Known Implementing Classes:
CachedContentFactory.CachedHttpContent
,CachedContentFactory.CachedPrecompressedHttpContent
,PrecompressedHttpContent
,ResourceHttpContent
@Deprecated(since="2021-05-27") public interface HttpContent
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.HttpContent interface.This information represents all the information about a static resource that is needed to evaluate conditional headers and to serve the content if need be. It can be implemented either transiently (values and fields generated on demand) or persistently (values and fields pre-generated in anticipation of reuse in from a cache).
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
HttpContent.ContentFactory
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description 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,? extends HttpContent>
getPrecompressedContents()
Deprecated.java.nio.channels.ReadableByteChannel
getReadableByteChannel()
Deprecated.Resource
getResource()
Deprecated.void
release()
Deprecated.
-
-
-
Method Detail
-
getContentType
HttpField getContentType()
Deprecated.
-
getContentTypeValue
java.lang.String getContentTypeValue()
Deprecated.
-
getCharacterEncoding
java.lang.String getCharacterEncoding()
Deprecated.
-
getMimeType
MimeTypes.Type getMimeType()
Deprecated.
-
getContentEncoding
HttpField getContentEncoding()
Deprecated.
-
getContentEncodingValue
java.lang.String getContentEncodingValue()
Deprecated.
-
getContentLength
HttpField getContentLength()
Deprecated.
-
getContentLengthValue
long getContentLengthValue()
Deprecated.
-
getLastModified
HttpField getLastModified()
Deprecated.
-
getLastModifiedValue
java.lang.String getLastModifiedValue()
Deprecated.
-
getETag
HttpField getETag()
Deprecated.
-
getETagValue
java.lang.String getETagValue()
Deprecated.
-
getIndirectBuffer
java.nio.ByteBuffer getIndirectBuffer()
Deprecated.
-
getDirectBuffer
java.nio.ByteBuffer getDirectBuffer()
Deprecated.
-
getResource
Resource getResource()
Deprecated.
-
getInputStream
java.io.InputStream getInputStream() throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
getReadableByteChannel
java.nio.channels.ReadableByteChannel getReadableByteChannel() throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
release
void release()
Deprecated.
-
getPrecompressedContents
java.util.Map<CompressedContentFormat,? extends HttpContent> getPrecompressedContents()
Deprecated.
-
-