Modifier and Type | Method and Description |
---|---|
ContentType |
Configuration.getDefaultBatchAcceptFormat()
Gets the configured default Accept header value format for a batch request.
|
Modifier and Type | Method and Description |
---|---|
void |
Configuration.setDefaultBatchAcceptFormat(ContentType contentType)
Set the default Accept header value format for a batch request.
|
Modifier and Type | Field and Description |
---|---|
static ContentType |
ContentType.APPLICATION_ATOM_SVC |
static ContentType |
ContentType.APPLICATION_ATOM_XML |
static ContentType |
ContentType.APPLICATION_ATOM_XML_ENTRY |
static ContentType |
ContentType.APPLICATION_ATOM_XML_FEED |
static ContentType |
ContentType.APPLICATION_FORM_URLENCODED |
static ContentType |
ContentType.APPLICATION_JSON |
static ContentType |
ContentType.APPLICATION_OCTET_STREAM |
static ContentType |
ContentType.APPLICATION_SVG_XML |
static ContentType |
ContentType.APPLICATION_XHTML_XML |
static ContentType |
ContentType.APPLICATION_XML |
static ContentType |
ContentType.MULTIPART_FORM_DATA |
static ContentType |
ContentType.MULTIPART_MIXED |
static ContentType |
ContentType.TEXT_HTML |
static ContentType |
ContentType.TEXT_PLAIN |
static ContentType |
ContentType.TEXT_XML |
Modifier and Type | Method and Description |
---|---|
static ContentType |
ContentType.create(ContentType contentType,
String... parameters)
Creates a content type from an existing content type and additional key-value pairs for parameters.
|
static ContentType |
ContentType.create(String format)
Creates a
ContentType based on given input string (format ). |
static ContentType |
ContentType.create(String format,
String... parameters)
Creates a content type from format and key-value pairs for parameters.
|
ContentType |
ODataFormat.getContentType(ODataServiceVersion version)
Gets format as
ContentType . |
static ContentType |
ContentType.parse(String format)
Parses the given input string (
format ) and returns created ContentType if input was valid or
return NULL if input was not parseable. |
Modifier and Type | Method and Description |
---|---|
static ContentType |
ContentType.create(ContentType contentType,
String... parameters)
Creates a content type from an existing content type and additional key-value pairs for parameters.
|
static ODataFormat |
ODataFormat.fromContentType(ContentType contentType)
Gets OData format from a content type.
|
static List<AcceptType> |
AcceptType.fromContentType(ContentType contentType)
Creates a list of
AcceptType objects based on given content type. |
boolean |
ContentType.isCompatible(ContentType other)
|
boolean |
AcceptType.matches(ContentType contentType)
Determines whether this accept type matches a given content type.
|
Modifier and Type | Method and Description |
---|---|
void |
EntityProcessor.createEntity(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat)
Creates an entity with send data in the persistence and puts content, status, and Location into the response.
|
void |
MediaEntityProcessor.createMediaEntity(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat)
Creates an entity with send media data in the persistence and puts content, status and Location into the response.
|
void |
ReferenceProcessor.createReference(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat)
Creates entity reference in the persistence and puts content, status, and Location into the response.
|
void |
ActionComplexProcessor.processActionComplex(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat)
Process an action which has as return type a complex-type.
|
void |
ActionComplexCollectionProcessor.processActionComplexCollection(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat)
Process an action which has as return type a complex-type collection.
|
void |
ActionEntityProcessor.processActionEntity(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat)
Process an action which has as return type an entity.
|
void |
ActionEntityCollectionProcessor.processActionEntityCollection(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat)
Process an action which has as return type a collection of entities.
|
void |
ActionPrimitiveProcessor.processActionPrimitive(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat)
Process an action which has as return type a primitive-type.
|
void |
ActionPrimitiveCollectionProcessor.processActionPrimitiveCollection(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat)
Process an action which has as return type a primitive-type collection.
|
void |
ErrorProcessor.processError(ODataRequest request,
ODataResponse response,
ODataServerError serverError,
ContentType responseFormat)
Processes an error/exception.
|
void |
DefaultProcessor.processError(ODataRequest request,
ODataResponse response,
ODataServerError serverError,
ContentType requestedContentType) |
void |
ComplexProcessor.readComplex(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType responseFormat)
Reads complex-type instance.
|
void |
ComplexCollectionProcessor.readComplexCollection(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType responseFormat)
Reads complex-type collection.
|
void |
EntityProcessor.readEntity(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType responseFormat)
Reads entity data from persistence and puts serialized content and status into the response.
|
void |
EntityCollectionProcessor.readEntityCollection(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType responseFormat)
Reads entities data from persistence and puts serialized content and status into the response.
|
void |
MediaEntityProcessor.readMediaEntity(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType responseFormat)
Reads entity media data from persistence and puts content and status into the response.
|
void |
MetadataProcessor.readMetadata(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType responseFormat)
Reads data from persistence and puts serialized content and status into the response.
|
void |
DefaultProcessor.readMetadata(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestedContentType) |
void |
PrimitiveProcessor.readPrimitive(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType responseFormat)
Reads primitive-type instance.
|
void |
PrimitiveCollectionProcessor.readPrimitiveCollection(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType responseFormat)
Reads primitive-type collection.
|
void |
PrimitiveValueProcessor.readPrimitiveValue(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType responseFormat)
Reads raw value of a primitive-type instance, e.g., of a primitive property of an entity.
|
void |
ReferenceProcessor.readReference(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType responseFormat)
Reads entity reference from persistence and put it as serialized content and status into the response.
|
void |
ReferenceCollectionProcessor.readReferenceCollection(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType responseFormat)
Reads entity references from persistence and put them as serialized content and with
according status into the response.
|
void |
ServiceDocumentProcessor.readServiceDocument(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType responseFormat)
Reads service-document information from persistence and puts serialized content and status into the response.
|
void |
DefaultProcessor.readServiceDocument(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestedContentType) |
void |
ComplexProcessor.updateComplex(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat)
Update complex-type instance with send data in the persistence and
puts content, status, and Location into the response.
|
void |
ComplexCollectionProcessor.updateComplexCollection(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat)
Update (replace) complex-type collection with send data in the persistence and
puts content, status, and Location into the response.
|
void |
EntityProcessor.updateEntity(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat)
Update entity data with send data in the persistence and puts content, status, and Location into the response.
|
void |
MediaEntityProcessor.updateMediaEntity(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat)
Updates entity media data in the persistence and puts content and status into the response.
|
void |
PrimitiveProcessor.updatePrimitive(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat)
Update primitive-type instance with send data in the persistence and
puts content, status, and Location into the response.
|
void |
PrimitiveCollectionProcessor.updatePrimitiveCollection(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat)
Update (replace) primitive-type collection with send data in the persistence and
puts content, status, and Location into the response.
|
void |
ReferenceProcessor.updateReference(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat)
Update entity reference in the persistence and puts content, status, and Location into the response.
|
Modifier and Type | Method and Description |
---|---|
List<ContentType> |
CustomContentTypeSupport.modifySupportedContentTypes(List<ContentType> defaultContentTypes,
RepresentationType type)
Returns a list of supported content types.
|
Modifier and Type | Method and Description |
---|---|
List<ContentType> |
CustomContentTypeSupport.modifySupportedContentTypes(List<ContentType> defaultContentTypes,
RepresentationType type)
Returns a list of supported content types.
|
Modifier and Type | Method and Description |
---|---|
void |
CarsProcessor.createEntity(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat) |
void |
CarsProcessor.readComplex(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType format) |
void |
CarsProcessor.readEntity(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestedContentType) |
void |
CarsProcessor.readEntityCollection(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestedContentType) |
void |
CarsProcessor.readPrimitive(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType format) |
void |
CarsProcessor.readPrimitiveValue(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType format) |
void |
CarsProcessor.updateComplex(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat) |
void |
CarsProcessor.updateEntity(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat) |
void |
CarsProcessor.updatePrimitive(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat) |
Modifier and Type | Method and Description |
---|---|
void |
TechnicalEntityProcessor.createEntity(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat) |
void |
TechnicalEntityProcessor.createMediaEntity(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat) |
void |
TechnicalPrimitiveComplexProcessor.processActionComplex(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat) |
void |
TechnicalPrimitiveComplexProcessor.processActionComplexCollection(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat) |
void |
TechnicalEntityProcessor.processActionEntity(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat) |
void |
TechnicalEntityProcessor.processActionEntityCollection(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat) |
void |
TechnicalPrimitiveComplexProcessor.processActionPrimitive(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat) |
void |
TechnicalPrimitiveComplexProcessor.processActionPrimitiveCollection(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat) |
void |
TechnicalPrimitiveComplexProcessor.readComplex(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType contentType) |
void |
TechnicalPrimitiveComplexProcessor.readComplexCollection(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType contentType) |
void |
TechnicalEntityProcessor.readEntity(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestedContentType) |
void |
TechnicalEntityProcessor.readEntityCollection(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestedContentType) |
void |
TechnicalEntityProcessor.readMediaEntity(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType responseFormat) |
void |
TechnicalPrimitiveComplexProcessor.readPrimitive(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType contentType) |
void |
TechnicalPrimitiveComplexProcessor.readPrimitiveCollection(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType contentType) |
void |
TechnicalPrimitiveComplexProcessor.readPrimitiveValue(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType contentType) |
void |
TechnicalPrimitiveComplexProcessor.updateComplex(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat) |
void |
TechnicalPrimitiveComplexProcessor.updateComplexCollection(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat) |
void |
TechnicalEntityProcessor.updateEntity(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat) |
void |
TechnicalEntityProcessor.updateMediaEntity(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat) |
void |
TechnicalPrimitiveComplexProcessor.updatePrimitive(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat) |
void |
TechnicalPrimitiveComplexProcessor.updatePrimitiveCollection(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat) |
Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.