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 String
getCharacterEncoding()
Deprecated.HttpField
getContentEncoding()
Deprecated.String
getContentEncodingValue()
Deprecated.HttpField
getContentLength()
Deprecated.long
getContentLengthValue()
Deprecated.HttpField
getContentType()
Deprecated.String
getContentTypeValue()
Deprecated.ByteBuffer
getDirectBuffer()
Deprecated.HttpField
getETag()
Deprecated.String
getETagValue()
Deprecated.ByteBuffer
getIndirectBuffer()
Deprecated.InputStream
getInputStream()
Deprecated.HttpField
getLastModified()
Deprecated.String
getLastModifiedValue()
Deprecated.MimeTypes.Type
getMimeType()
Deprecated.Map<CompressedContentFormat,? extends HttpContent>
getPrecompressedContents()
Deprecated.ReadableByteChannel
getReadableByteChannel()
Deprecated.Resource
getResource()
Deprecated.void
release()
Deprecated.
-
-
-
Method Detail
-
getContentType
HttpField getContentType()
Deprecated.
-
getContentTypeValue
String getContentTypeValue()
Deprecated.
-
getCharacterEncoding
String getCharacterEncoding()
Deprecated.
-
getMimeType
MimeTypes.Type getMimeType()
Deprecated.
-
getContentEncoding
HttpField getContentEncoding()
Deprecated.
-
getContentEncodingValue
String getContentEncodingValue()
Deprecated.
-
getContentLength
HttpField getContentLength()
Deprecated.
-
getContentLengthValue
long getContentLengthValue()
Deprecated.
-
getLastModified
HttpField getLastModified()
Deprecated.
-
getLastModifiedValue
String getLastModifiedValue()
Deprecated.
-
getETag
HttpField getETag()
Deprecated.
-
getETagValue
String getETagValue()
Deprecated.
-
getIndirectBuffer
ByteBuffer getIndirectBuffer()
Deprecated.
-
getDirectBuffer
ByteBuffer getDirectBuffer()
Deprecated.
-
getResource
Resource getResource()
Deprecated.
-
getInputStream
InputStream getInputStream() throws IOException
Deprecated.- Throws:
IOException
-
getReadableByteChannel
ReadableByteChannel getReadableByteChannel() throws IOException
Deprecated.- Throws:
IOException
-
release
void release()
Deprecated.
-
getPrecompressedContents
Map<CompressedContentFormat,? extends HttpContent> getPrecompressedContents()
Deprecated.
-
-