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).

    • Method Detail

      • getContentType

        HttpField getContentType()
        Deprecated.
      • getContentTypeValue

        java.lang.String getContentTypeValue()
        Deprecated.
      • getCharacterEncoding

        java.lang.String getCharacterEncoding()
        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.
      • 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.