org.apache.olingo.netty.server.api

## Interface ODataNettyHandler

- All Known Implementing Classes:
    ODataNettyHandlerImpl

      public interface ODataNettyHandler

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    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.

- - ### Method Detail

    - #### processNettyRequest

          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.

      Parameters:
        `request` - - must be a HTTP OData request
        `response` - - HTTP OData response

    - #### register

          void 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–2020 The Apache Software Foundation. All rights reserved.