Package org.apache.olingo.odata2.api.processor

Data Processor

See:
          Description

Interface Summary
ODataContext Compilation of generic context objects.
ODataContext.RuntimeMeasurement Runtime measurements.
ODataErrorCallback This interface is called if an error occurred and is process inside the exception mapper.
ODataProcessor An ODataProcessor is the root interface for processor implementation.
 

Class Summary
ODataErrorContext Error context information bean.
ODataRequest  
ODataRequest.ODataRequestBuilder  
ODataResponse An ODataResponse is usually created by an ODataProcessor during request handling.
ODataResponse.ODataResponseBuilder Implementation of the builder pattern to create instances of this type of object.
ODataSingleProcessor A default ODataProcessor that implements all processor features in a single class.
 

Package org.apache.olingo.odata2.api.processor Description

Data Processor

A data processor implements all create, read, update and delete (CRUD) methods of an OData service. A processor as part of a OData service implementation is created by the service factory and then called during request handling. In dependency of the http context (http method, requestheaders ...) and the parsed uri semantic the OData Library will call an appropriate processor method. Within this method a service can perform operations on data. In a final step the data result can be transformed using a EntityProvider (for Json, Atom and XML) and is returned as a ODataResponse.

A processor gets access to context information either via method parameters or a ODataContext which is attached to the processor object.

A processor can support optional features org.apache.olingo.odata2.api.processor.feature and implement parts org.apache.olingo.odata2.api.processor.part which is more or less a grouping for different OData CRUD operations.

ODataSingleProcessor is a convenience abstract class that implements all interface parts and has default implementations for handling OData service document and metadata. Usually the ODataSingleProcessor is used together with a ODataSingleService default implementation.



Copyright © 2013-2015 The Apache Software Foundation. All Rights Reserved.