Package com.adaptris.core.http
Class NullContentTypeProvider
- java.lang.Object
-
- com.adaptris.core.http.NullContentTypeProvider
-
- All Implemented Interfaces:
ContentTypeProvider
public class NullContentTypeProvider extends java.lang.Object implements 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 Constructor Description NullContentTypeProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getContentType(AdaptrisMessage msg)
Get the content type.
-
-
-
Method Detail
-
getContentType
public java.lang.String getContentType(AdaptrisMessage msg)
Description copied from interface:ContentTypeProvider
Get the content type.- Specified by:
getContentType
in interfaceContentTypeProvider
- Parameters:
msg
- the Adaptris Message- Returns:
- the content type.
-
-