Package org.apache.olingo.odata2.api.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.
-
ClassDescriptionCompilation of generic context objects.Runtime measurements.This interface is called if an error occurred and is process inside the exception mapper.Error context information bean.An
ODataProcessoris the root interface for processor implementation.AnODataResponseis usually created by anODataProcessorduring request handling.Implementation of the builder pattern to create instances of this type of object.A defaultODataProcessorthat implements all processor features in a single class.