Class CacheEntity

  • All Implemented Interfaces:
    java.io.Serializable, org.apache.http.HttpEntity

    @Contract(threading=IMMUTABLE)
    class CacheEntity
    extends java.lang.Object
    implements org.apache.http.HttpEntity, java.io.Serializable
    • Constructor Detail

    • Method Detail

      • getContentType

        public org.apache.http.Header getContentType()
        Specified by:
        getContentType in interface org.apache.http.HttpEntity
      • getContentEncoding

        public org.apache.http.Header getContentEncoding()
        Specified by:
        getContentEncoding in interface org.apache.http.HttpEntity
      • isChunked

        public boolean isChunked()
        Specified by:
        isChunked in interface org.apache.http.HttpEntity
      • isRepeatable

        public boolean isRepeatable()
        Specified by:
        isRepeatable in interface org.apache.http.HttpEntity
      • getContentLength

        public long getContentLength()
        Specified by:
        getContentLength in interface org.apache.http.HttpEntity
      • getContent

        public java.io.InputStream getContent()
                                       throws java.io.IOException
        Specified by:
        getContent in interface org.apache.http.HttpEntity
        Throws:
        java.io.IOException
      • writeTo

        public void writeTo​(java.io.OutputStream outStream)
                     throws java.io.IOException
        Specified by:
        writeTo in interface org.apache.http.HttpEntity
        Throws:
        java.io.IOException
      • isStreaming

        public boolean isStreaming()
        Specified by:
        isStreaming in interface org.apache.http.HttpEntity
      • consumeContent

        public void consumeContent()
                            throws java.io.IOException
        Specified by:
        consumeContent in interface org.apache.http.HttpEntity
        Throws:
        java.io.IOException
      • clone

        public java.lang.Object clone()
                               throws java.lang.CloneNotSupportedException
        Overrides:
        clone in class java.lang.Object
        Throws:
        java.lang.CloneNotSupportedException