Skip navigation links

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

Data Processor

See: Description

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.

Skip navigation links

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