Interface ODataHandler

All Known Subinterfaces:
ODataHttpHandler

public interface ODataHandler

Handles requests as OData requests.

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.

  • Method Summary

    Modifier and Type
    Method
    Description
    Processes an OData request.
    void
    Registers additional extensions for handling OData requests.
    void
    register(Processor processor)
    Registers additional custom processor implementations for handling OData requests.
  • Method Details

    • process

      ODataResponse process(ODataRequest request)

      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.

      Parameters:
      request - the OData request
      Returns:
      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.

    • register

      void register(OlingoExtension extension)

      Registers 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.