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.StringgetCharacterEncoding()Deprecated.HttpFieldgetContentEncoding()Deprecated.java.lang.StringgetContentEncodingValue()Deprecated.HttpFieldgetContentLength()Deprecated.longgetContentLengthValue()Deprecated.HttpFieldgetContentType()Deprecated.java.lang.StringgetContentTypeValue()Deprecated.java.nio.ByteBuffergetDirectBuffer()Deprecated.HttpFieldgetETag()Deprecated.java.lang.StringgetETagValue()Deprecated.java.nio.ByteBuffergetIndirectBuffer()Deprecated.java.io.InputStreamgetInputStream()Deprecated.java.lang.StringgetKey()Deprecated.HttpFieldgetLastModified()Deprecated.java.lang.StringgetLastModifiedValue()Deprecated.MimeTypes.TypegetMimeType()Deprecated.java.util.Map<CompressedContentFormat,? extends HttpContent>getPrecompressedContents()Deprecated.java.nio.channels.ReadableByteChannelgetReadableByteChannel()Deprecated.ResourcegetResource()Deprecated.booleanisCached()Deprecated.voidrelease()Deprecated.java.lang.StringtoString()Deprecated. 
 - 
 
- 
- 
Method Detail
- 
getKey
public java.lang.String getKey()
Deprecated. 
- 
isCached
public boolean isCached()
Deprecated. 
- 
getResource
public Resource getResource()
Deprecated.- Specified by:
 getResourcein interfaceHttpContent
 
- 
getETag
public HttpField getETag()
Deprecated.- Specified by:
 getETagin interfaceHttpContent
 
- 
getETagValue
public java.lang.String getETagValue()
Deprecated.- Specified by:
 getETagValuein interfaceHttpContent
 
- 
getLastModified
public HttpField getLastModified()
Deprecated.- Specified by:
 getLastModifiedin interfaceHttpContent
 
- 
getLastModifiedValue
public java.lang.String getLastModifiedValue()
Deprecated.- Specified by:
 getLastModifiedValuein interfaceHttpContent
 
- 
getContentType
public HttpField getContentType()
Deprecated.- Specified by:
 getContentTypein interfaceHttpContent
 
- 
getContentTypeValue
public java.lang.String getContentTypeValue()
Deprecated.- Specified by:
 getContentTypeValuein interfaceHttpContent
 
- 
getContentEncoding
public HttpField getContentEncoding()
Deprecated.- Specified by:
 getContentEncodingin interfaceHttpContent
 
- 
getContentEncodingValue
public java.lang.String getContentEncodingValue()
Deprecated.- Specified by:
 getContentEncodingValuein interfaceHttpContent
 
- 
getCharacterEncoding
public java.lang.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 java.nio.ByteBuffer getIndirectBuffer()
Deprecated.- Specified by:
 getIndirectBufferin interfaceHttpContent
 
- 
getDirectBuffer
public java.nio.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 java.io.InputStream getInputStream() throws java.io.IOExceptionDeprecated.- Specified by:
 getInputStreamin interfaceHttpContent- Throws:
 java.io.IOException
 
- 
getReadableByteChannel
public java.nio.channels.ReadableByteChannel getReadableByteChannel() throws java.io.IOExceptionDeprecated.- Specified by:
 getReadableByteChannelin interfaceHttpContent- Throws:
 java.io.IOException
 
- 
toString
public java.lang.String toString()
Deprecated.- Overrides:
 toStringin classjava.lang.Object
 
- 
getPrecompressedContents
public java.util.Map<CompressedContentFormat,? extends HttpContent> getPrecompressedContents()
Deprecated.- Specified by:
 getPrecompressedContentsin interfaceHttpContent
 
 - 
 
 -