public interface CustomContentTypeSupport extends OlingoExtension
Processors that supports custom content types can implement this interface.
The processor can also remove default content types if the default (de-)serializers
 of Olingo are not used. By default this interface is not implemented and
 a processor supports content types implemented by Olingo's default (de-)serializer
 (e.g., application/xml for the metadata and
 application/json for the service document).
Requesting a content type that is not supported results in an HTTP error 406 (Not Acceptable); sending content of an unsupported type results in an HTTP error 415 (Unsupported Media Type).
| Modifier and Type | Method and Description | 
|---|---|
| List<ContentType> | modifySupportedContentTypes(List<ContentType> defaultContentTypes,
                           RepresentationType type)Returns a list of supported content types. | 
List<ContentType> modifySupportedContentTypes(List<ContentType> defaultContentTypes, RepresentationType type)
defaultContentTypes - content types supported by Olingo's (de-)serializertype - the current type of representationCopyright © 2013–2023 The Apache Software Foundation. All rights reserved.