Package com.adaptris.core.http
Interface ContentTypeProvider
-
- All Known Implementing Classes:
ConfiguredContentTypeProvider,ContentTypeProviderImpl,MetadataContentTypeProvider,NullContentTypeProvider,RawContentTypeProvider
public interface ContentTypeProviderInterface to provide aContent-Typeheader for the HTTP request or response.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetContentType(AdaptrisMessage msg)Get the content type.
-
-
-
Method Detail
-
getContentType
java.lang.String getContentType(AdaptrisMessage msg) throws CoreException
Get the content type.- Parameters:
msg- the Adaptris Message- Returns:
- the content type.
- Throws:
CoreException- wrapping other exceptions
-
-