Interface ServiceNameExtractor

All Known Implementing Classes:
DefaultServiceNameExtractor

public interface ServiceNameExtractor
A service to extract the service name from the ODataContext
  • Method Summary

    Modifier and Type
    Method
    Description
    extract(javax.servlet.http.HttpServletRequest httpServletRequest)
    Extracts the service name from the pathInfo
    extract(org.apache.olingo.odata2.api.processor.ODataContext context)
    Extracts the service name from the context
  • Method Details

    • extract

      String extract(org.apache.olingo.odata2.api.processor.ODataContext context)
      Extracts the service name from the context
      Parameters:
      context - Context containing the URL with the service name
      Returns:
      The service name, which is also code of the integration object presented by the endpoint.
    • extract

      String extract(javax.servlet.http.HttpServletRequest httpServletRequest)
      Extracts the service name from the pathInfo
      Parameters:
      httpServletRequest - HttpServletRequest with the information needed.
      Returns:
      a String The service name, which is also code of the integration object presented by the endpoint.