Package com.adaptris.core.http
Class NullContentTypeProvider
java.lang.Object
com.adaptris.core.http.NullContentTypeProvider
- All Implemented Interfaces:
ContentTypeProvider
Returns a null as the content-type.
In the adapter configuration file this class is aliased as http-null-content-type-provider which is the preferred alternative to the fully qualified classname when building your configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the content type.
-
Constructor Details
-
NullContentTypeProvider
public NullContentTypeProvider()
-
-
Method Details
-
getContentType
Description copied from interface:ContentTypeProvider
Get the content type.- Specified by:
getContentType
in interfaceContentTypeProvider
- Parameters:
msg
- the Adaptris Message- Returns:
- the content type.
-