Package org.apache.olingo.server.core
Class ODataHandlerImpl
java.lang.Object
org.apache.olingo.server.core.ODataHandlerImpl
- All Implemented Interfaces:
ODataHandler
-
Constructor Summary
ConstructorsConstructorDescriptionODataHandlerImpl(OData odata, ServiceMetadata serviceMetadata, ServerCoreDebugger debugger) -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleException(ODataRequest request, ODataResponse response, ODataServerError serverError, Exception exception) process(ODataRequest request) Processes an OData request.voidregister(OlingoExtension extension) Registers additional extensions for handling OData requests.voidRegisters additional custom processor implementations for handling OData requests.
-
Constructor Details
-
ODataHandlerImpl
-
-
Method Details
-
process
Description copied from interface:ODataHandlerProcesses 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.
- Specified by:
processin interfaceODataHandler- Parameters:
request- the OData request- Returns:
- OData response
-
handleException
public void handleException(ODataRequest request, ODataResponse response, ODataServerError serverError, Exception exception) -
register
Description copied from interface:ODataHandlerRegisters 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.
- Specified by:
registerin interfaceODataHandler
-
register
Description copied from interface:ODataHandlerRegisters 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.
- Specified by:
registerin interfaceODataHandler
-
getCustomContentTypeSupport
-
getCustomETagSupport
-
getLastThrownException
-
getUriInfo
-