public interface ODataHandler
Handles requests as OData requests.
This includes URI parsing, content negotiation, dispatching the request to a specific custom processor implementation for handling data and creating the serialized content for the response object.
Modifier and Type | Method and Description |
---|---|
ODataResponse |
process(ODataRequest request)
Processes an OData request.
|
void |
register(OlingoExtension extension)
Registers additional extensions for handling OData requests.
|
void |
register(Processor processor)
Registers additional custom processor implementations for handling OData requests.
|
ODataResponse process(ODataRequest request)
Processes an OData request.
This includes URI parsing, content negotiation, dispatching the request to a specific custom processor implementation for handling data and creating the serialized content for the response object.
request
- the OData requestvoid register(Processor processor)
Registers additional custom processor implementations for handling OData requests.
If request processing requires a processor that is not registered then a "not implemented" exception will happen.
void register(OlingoExtension extension)
Registers additional extensions for handling OData requests.
This method is used for registration of all possible extensions and provide the extensibility for further extensions and different ODataHandler implementations/extensions.
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.