Package org.eclipse.jetty.server
Class CachedContentFactory.CachedHttpContent
- java.lang.Object
-
- org.eclipse.jetty.server.CachedContentFactory.CachedHttpContent
-
- All Implemented Interfaces:
HttpContent
- Enclosing class:
- CachedContentFactory
@Deprecated(since="2021-05-27") public class CachedContentFactory.CachedHttpContent extends java.lang.Object implements HttpContent
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.MetaData associated with a context Resource.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.http.HttpContent
HttpContent.ContentFactory
-
-
Method Summary
All Methods Instance Methods Concrete 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.java.lang.String
getKey()
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.boolean
isCached()
Deprecated.void
release()
Deprecated.java.lang.String
toString()
Deprecated.
-
-
-
Method Detail
-
getKey
public java.lang.String getKey()
Deprecated.
-
isCached
public boolean isCached()
Deprecated.
-
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,? extends HttpContent> getPrecompressedContents()
Deprecated.- Specified by:
getPrecompressedContents
in interfaceHttpContent
-
-