public class ODataHttpHandlerImpl extends Object implements ODataHttpHandler
| Modifier and Type | Field and Description |
|---|---|
static int |
COPY_BUFFER_SIZE |
| Constructor and Description |
|---|
ODataHttpHandlerImpl(OData odata,
ServiceMetadata serviceMetadata) |
| 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.
|
ODataResponse |
process(ODataRequest request)
Processes an OData request.
|
void |
register(CustomContentTypeSupport customContentTypeSupport)
Registers a service implementation for modifying the standard list of supported
content types.
|
void |
register(CustomETagSupport customConcurrencyControlSupport)
Registers support for concurrency control for certain entity sets.
|
void |
register(DebugSupport debugSupport)
Registers the debug support handler.
|
void |
register(OlingoExtension extension)
Registers additional extensions for handling OData requests.
|
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.
|
public static final int COPY_BUFFER_SIZE
public ODataHttpHandlerImpl(OData odata, ServiceMetadata serviceMetadata)
public ODataResponse process(ODataRequest request)
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.
process in interface ODataHandlerrequest - the OData requestpublic void process(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
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.
process in interface ODataHttpHandlerrequest - - must be a HTTP OData requestresponse - - HTTP OData responsepublic void setSplit(int split)
ODataHttpHandlersetSplit in interface ODataHttpHandlersplit - the number of path segments reserved for service resolution; default is 0public void register(Processor processor)
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.
register in interface ODataHandlerpublic void register(OlingoExtension extension)
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.
register in interface ODataHandlerpublic void register(CustomContentTypeSupport customContentTypeSupport)
ODataHttpHandlerregister in interface ODataHttpHandlerCustomContentTypeSupportpublic void register(CustomETagSupport customConcurrencyControlSupport)
ODataHttpHandlerregister in interface ODataHttpHandlercustomConcurrencyControlSupport - handler to registerpublic void register(DebugSupport debugSupport)
ODataHttpHandlerregister in interface ODataHttpHandlerdebugSupport - handler to registerCopyright © 2023. All rights reserved.