Class ODataHandlerImpl

java.lang.Object
org.apache.olingo.server.core.ODataHandlerImpl
All Implemented Interfaces:
ODataHandler

public class ODataHandlerImpl extends Object implements ODataHandler
  • 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
    • handleException

      public void handleException(ODataRequest request, ODataResponse response, ODataServerError serverError, Exception exception)
    • 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
    • getCustomContentTypeSupport

      public CustomContentTypeSupport getCustomContentTypeSupport()
    • getCustomETagSupport

      public CustomETagSupport getCustomETagSupport()
    • getLastThrownException

      public Exception getLastThrownException()
    • getUriInfo

      public UriInfo getUriInfo()