Class ODataHttpHandlerImpl
- All Implemented Interfaces:
ODataHandler,ODataHttpHandler
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Processes a HttpServletRequest as an OData request.process(ODataRequest request) Processes an OData request.voidregister(DebugSupport debugSupport) Registers the debug support handler.voidregister(CustomETagSupport customConcurrencyControlSupport) Registers support for concurrency control for certain entity sets.voidregister(OlingoExtension extension) Registers additional extensions for handling OData requests.voidRegisters additional custom processor implementations for handling OData requests.voidregister(CustomContentTypeSupport customContentTypeSupport) Registers a service implementation for modifying the standard list of supported content types.voidsetSplit(int split) Sets the split parameter which is used for service resolution.
-
Field Details
-
COPY_BUFFER_SIZE
public static final int COPY_BUFFER_SIZE- See Also:
-
-
Constructor Details
-
ODataHttpHandlerImpl
-
-
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
-
process
public void process(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Description copied from interface:ODataHttpHandlerProcesses a HttpServletRequest as 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 interfaceODataHttpHandler- Parameters:
request- - must be a HTTP OData requestresponse- - HTTP OData response
-
setSplit
public void setSplit(int split) Description copied from interface:ODataHttpHandlerSets the split parameter which is used for service resolution.- Specified by:
setSplitin interfaceODataHttpHandler- Parameters:
split- the number of path segments reserved for service resolution; default is 0
-
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
-
register
Description copied from interface:ODataHttpHandlerRegisters a service implementation for modifying the standard list of supported content types.- Specified by:
registerin interfaceODataHttpHandler- See Also:
-
register
Description copied from interface:ODataHttpHandlerRegisters support for concurrency control for certain entity sets.- Specified by:
registerin interfaceODataHttpHandler- Parameters:
customConcurrencyControlSupport- handler to register
-
register
Description copied from interface:ODataHttpHandlerRegisters the debug support handler.- Specified by:
registerin interfaceODataHttpHandler- Parameters:
debugSupport- handler to register
-