public class TechnicalActionProcessor extends TechnicalProcessor implements ActionEntityCollectionProcessor, ActionEntityProcessor, ActionPrimitiveCollectionProcessor, ActionPrimitiveProcessor, ActionComplexCollectionProcessor, ActionComplexProcessor, ActionVoidProcessor
dataProvider, odata, serviceMetadata| Constructor and Description |
|---|
TechnicalActionProcessor(DataProvider dataProvider,
ServiceMetadata serviceMetadata) |
| Modifier and Type | Method and Description |
|---|---|
void |
processActionComplex(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat)
Process an action which has as return type a complex type.
|
void |
processActionComplexCollection(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat)
Process an action which has as return type a complex-type collection.
|
void |
processActionEntity(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat)
Process an action which has as return type an entity.
|
void |
processActionEntityCollection(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat)
Process an action which has as return type a collection of entities.
|
void |
processActionPrimitive(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat)
Process an action which has as return type a primitive-type.
|
void |
processActionPrimitiveCollection(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat)
Process an action which has as return type a primitive-type collection.
|
void |
processActionVoid(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat)
Process an action which has no return type.
|
blockBoundActions, checkRequestFormat, getEdmEntitySet, getLastNavigation, init, isODataMetadataNone, readEntity, readEntity, readEntityCollection, validateOptionspublic TechnicalActionProcessor(DataProvider dataProvider, ServiceMetadata serviceMetadata)
public void processActionEntityCollection(ODataRequest request, ODataResponse response, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException
ActionEntityCollectionProcessorprocessActionEntityCollection in interface ActionEntityCollectionProcessorrequest - OData request object containing raw HTTP informationresponse - OData response object for collecting response datauriInfo - information of a parsed OData URIrequestFormat - content type of body sent with requestresponseFormat - requested content type after content negotiationODataApplicationException - if the service implementation encounters a failureODataLibraryExceptionpublic void processActionEntity(ODataRequest request, ODataResponse response, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException
ActionEntityProcessorprocessActionEntity in interface ActionEntityProcessorrequest - OData request object containing raw HTTP informationresponse - OData response object for collecting response datauriInfo - information about a parsed OData URIrequestFormat - content type of body sent with requestresponseFormat - requested content type after content negotiationODataApplicationException - if the service implementation encounters a failureODataLibraryExceptionpublic void processActionPrimitiveCollection(ODataRequest request, ODataResponse response, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException
ActionPrimitiveCollectionProcessorprocessActionPrimitiveCollection in interface ActionPrimitiveCollectionProcessorrequest - OData request object containing raw HTTP informationresponse - OData response object for collecting response datauriInfo - information about a parsed OData URIrequestFormat - content type of body sent with requestresponseFormat - requested content type after content negotiationODataApplicationException - if the service implementation encounters a failureODataLibraryExceptionpublic void processActionPrimitive(ODataRequest request, ODataResponse response, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException
ActionPrimitiveProcessorprocessActionPrimitive in interface ActionPrimitiveProcessorrequest - OData request object containing raw HTTP informationresponse - OData response object for collecting response datauriInfo - information about a parsed OData URIrequestFormat - content type of body sent with requestresponseFormat - requested content type after content negotiationODataApplicationException - if the service implementation encounters a failureODataLibraryExceptionpublic void processActionComplexCollection(ODataRequest request, ODataResponse response, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException
ActionComplexCollectionProcessorprocessActionComplexCollection in interface ActionComplexCollectionProcessorrequest - OData request object containing raw HTTP informationresponse - OData response object for collecting response datauriInfo - information about a parsed OData URIrequestFormat - content type of body sent with requestresponseFormat - requested content type after content negotiationODataApplicationException - if the service implementation encounters a failureODataLibraryExceptionpublic void processActionComplex(ODataRequest request, ODataResponse response, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException
ActionComplexProcessorprocessActionComplex in interface ActionComplexProcessorrequest - OData request object containing raw HTTP informationresponse - OData response object for collecting response datauriInfo - information about a parsed OData URIrequestFormat - content type of body sent with requestresponseFormat - requested content type after content negotiationODataApplicationException - if the service implementation encounters a failureODataLibraryExceptionpublic void processActionVoid(ODataRequest request, ODataResponse response, UriInfo uriInfo, ContentType requestFormat) throws ODataApplicationException, ODataLibraryException
ActionVoidProcessorprocessActionVoid in interface ActionVoidProcessorrequest - OData request object containing raw HTTP informationresponse - OData response object for collecting response datauriInfo - information about a parsed OData URIrequestFormat - content type of body sent with requestODataApplicationException - if the service implementation encounters a failureODataLibraryExceptionCopyright © 2013–2015 The Apache Software Foundation. All rights reserved.