Interface EntityInfo

All Known Implementing Classes:
EntityInfoImpl

public interface EntityInfo
Core content metadata describing encoding, content type, charset and language.
Author:
raven
  • Method Details

    • getContentEncodings

      List<String> getContentEncodings()
    • getContentType

      String getContentType()
    • getCharset

      String getCharset()
      Charset, such as UTF-8 or ISO 8859-1
      Returns:
    • getLanguageTags

      Set<String> getLanguageTags()
      The set of language tags for which the content is suitable.
      Returns:
    • getConformsTo

      Set<String> getConformsTo()
      A set of IRIs for 'standards' (may be informal or ad-hoc) a resource conforms to
    • getByteSize

      Long getByteSize()
    • getUncompressedByteSize

      Long getUncompressedByteSize()
    • getEncodingsAsHttpHeader

      default String getEncodingsAsHttpHeader()
      Convenience method
      Returns: