Class ODataHttpHandlerImpl

java.lang.Object
org.apache.olingo.server.core.ODataHttpHandlerImpl
All Implemented Interfaces:
ODataHandler, ODataHttpHandler

public class ODataHttpHandlerImpl extends Object implements ODataHttpHandler
  • Field Details

  • Constructor Details

  • Method Details

    • process

      public ODataResponse process(ODataRequest request)
      Description copied from interface: ODataHandler

      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.

      Specified by:
      process in interface ODataHandler
      Parameters:
      request - the OData request
      Returns:
      OData response
    • process

      public void process(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
      Description copied from interface: ODataHttpHandler

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

      Specified by:
      process in interface ODataHttpHandler
      Parameters:
      request - - must be a HTTP OData request
      response - - HTTP OData response
    • setSplit

      public void setSplit(int split)
      Description copied from interface: ODataHttpHandler
      Sets the split parameter which is used for service resolution.
      Specified by:
      setSplit in interface ODataHttpHandler
      Parameters:
      split - the number of path segments reserved for service resolution; default is 0
    • register

      public void register(Processor processor)
      Description copied from interface: ODataHandler

      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.

      Specified by:
      register in interface ODataHandler
    • register

      public void register(OlingoExtension extension)
      Description copied from interface: ODataHandler

      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.

      Specified by:
      register in interface ODataHandler
    • register

      public void register(CustomContentTypeSupport customContentTypeSupport)
      Description copied from interface: ODataHttpHandler
      Registers a service implementation for modifying the standard list of supported content types.
      Specified by:
      register in interface ODataHttpHandler
      See Also:
    • register

      public void register(CustomETagSupport customConcurrencyControlSupport)
      Description copied from interface: ODataHttpHandler
      Registers support for concurrency control for certain entity sets.
      Specified by:
      register in interface ODataHttpHandler
      Parameters:
      customConcurrencyControlSupport - handler to register
    • register

      public void register(DebugSupport debugSupport)
      Description copied from interface: ODataHttpHandler
      Registers the debug support handler.
      Specified by:
      register in interface ODataHttpHandler
      Parameters:
      debugSupport - handler to register