Class ParsedContentType


  • public class ParsedContentType
    extends Object
    Represents a content type as it appears in HTTP headers, parsed to extract two properties: (a) a boolean indicating whether the media type is XML, and (b) the character encoding.
    • Field Detail

      • isXmlMediaType

        public boolean isXmlMediaType
      • encoding

        public String encoding
    • Constructor Detail

      • ParsedContentType

        public ParsedContentType​(String contentType)