public interface ODataNettyHandler
| Modifier and Type | Method and Description | 
|---|---|
| void | processNettyRequest(io.netty.handler.codec.http.HttpRequest request,
                   io.netty.handler.codec.http.HttpResponse response,
                   Map<String,String> requestParameters)Processes a NettyRequest as an OData request. | 
| void | register(Processor processor)Registers additional custom processor implementations for handling OData requests. | 
void processNettyRequest(io.netty.handler.codec.http.HttpRequest request,
                         io.netty.handler.codec.http.HttpResponse response,
                         Map<String,String> requestParameters)
Processes a NettyRequest 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 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.
Copyright © 2013–2023 The Apache Software Foundation. All rights reserved.