Interface DocumentTypeFactory


  • public interface DocumentTypeFactory
    • Method Detail

      • fromContentTypeHeader

        DocumentType fromContentTypeHeader​(String contentTypeHeader)
        Creates a DocumentType from HTTP header Content-Type.
        Parameters:
        contentTypeHeader - the value of a HTTP Content-Type header which will be used to create DocumentType.
        Returns:
        a DocumentType constructed from the given contentType.