public interface ODataHttpHandler extends ODataHandler
Modifier and Type | Method and Description |
---|---|
void |
process(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Processes a HttpServletRequest as an OData request.
|
void |
register(CustomContentTypeSupport customContentTypeSupport)
Registers a service implementation for modifying the standard list of supported
content types.
|
void |
register(CustomETagSupport customETagSupport)
Registers support for concurrency control for certain entity sets.
|
void |
register(DebugSupport debugSupport)
Registers the debug support handler.
|
void |
setSplit(int split)
Sets the split parameter which is used for service resolution.
|
process, register, register
void process(javax.servlet.http.HttpServletRequest request, javax.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.
request
- - must be a HTTP OData requestresponse
- - HTTP OData responsevoid setSplit(int split)
split
- the number of path segments reserved for service resolution; default is 0void register(DebugSupport debugSupport)
debugSupport
- handler to registervoid register(CustomContentTypeSupport customContentTypeSupport)
CustomContentTypeSupport
void register(CustomETagSupport customETagSupport)
customETagSupport
- handler to registerCopyright © 2013–2018 The Apache Software Foundation. All rights reserved.