public interface ODataHttpHandler
Modifier and Type | Method and Description |
---|---|
void |
process(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Processes an OData request.
|
void |
register(CustomContentTypeSupport customContentTypeSupport)
Registers a service implementation for modifying the standard list of supported
content types.
|
void |
register(Processor processor)
Registers additional custom processor implementations for handling OData requests.
|
void |
setSplit(int split)
Sets the split parameter which is used for service resolution.
|
void process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
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
- - must be a HTTP OData requestresponse
- - HTTP OData responsevoid 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(CustomContentTypeSupport customContentTypeSupport)
CustomContentTypeSupport
void setSplit(int split)
split
- the number of path segments reserved for service resolution; default is 0Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.