Package org.apache.olingo.server.api
Interface ODataHttpHandler
- All Superinterfaces:
ODataHandler
Handles HTTP requests as OData requests.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
process
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Processes a HttpServletRequest as an OData request.void
register
(DebugSupport debugSupport) Registers the debug support handler.void
register
(CustomETagSupport customETagSupport) Registers support for concurrency control for certain entity sets.void
register
(CustomContentTypeSupport customContentTypeSupport) Registers a service implementation for modifying the standard list of supported content types.void
setSplit
(int split) Sets the split parameter which is used for service resolution.Methods inherited from interface org.apache.olingo.server.api.ODataHandler
process, register, register
-
Method Details
-
process
void process(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Processes 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.
- Parameters:
request
- - must be a HTTP OData requestresponse
- - HTTP OData response
-
setSplit
void setSplit(int split) Sets the split parameter which is used for service resolution.- Parameters:
split
- the number of path segments reserved for service resolution; default is 0
-
register
Registers the debug support handler.- Parameters:
debugSupport
- handler to register
-
register
Registers a service implementation for modifying the standard list of supported content types.- See Also:
-
register
Registers support for concurrency control for certain entity sets.- Parameters:
customETagSupport
- handler to register
-