Interface EntityDetails

    • Method Detail

      • getContentLength

        long getContentLength()
        Gets length of this entity, if known.
        Returns:
        the length of this entity, may be 0.
      • getContentType

        java.lang.String getContentType()
        Gets content type of this entity, if known.
        Returns:
        the content type of this entity, may be null.
      • getContentEncoding

        java.lang.String getContentEncoding()
        Gets content encoding of this entity, if known.
        Returns:
        the content encoding of this entity, may be null.
      • isChunked

        boolean isChunked()
        Tests the chunked transfer hint for this entity.

        The behavior of wrapping entities is implementation dependent, but should respect the primary purpose.

        Returns:
        the chunked transfer hint for this entity.
      • getTrailerNames

        java.util.Set<java.lang.String> getTrailerNames()
        Gets the preliminary declaration of trailing headers.
        Returns:
        the preliminary declaration of trailing headers.