Package com.funnelback.filter.api
Interface DocumentTypeFactory
-
public interface DocumentTypeFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DocumentType
fromContentTypeHeader(String contentTypeHeader)
Creates a DocumentType from HTTP header Content-Type.
-
-
-
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.
-
-