Class HttpContentType


  • public class HttpContentType
    extends Object
    Extracts the type and encoding from an HTTP Content-Type header.
    Author:
    Scott Farquhar
    • Field Detail

      • type

        private final String type
      • encoding

        private final String encoding
    • Constructor Detail

      • HttpContentType

        public HttpContentType​(String fullValue)
    • Method Detail

      • extractContentTypeValue

        private String extractContentTypeValue​(String type,
                                               int startIndex)
      • getType

        public String getType()
      • getEncoding

        public String getEncoding()