Interface ODataRequestEntityExtractor

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String extract​(org.apache.olingo.odata2.api.processor.ODataRequest request)
      Extracts the entity from the ODataRequest.
      boolean isApplicable​(org.apache.olingo.odata2.api.processor.ODataRequest request)
      Indicates whether this Extractor should be used to extract the entity from the given ODataRequest
    • Method Detail

      • isApplicable

        boolean isApplicable​(org.apache.olingo.odata2.api.processor.ODataRequest request)
        Indicates whether this Extractor should be used to extract the entity from the given ODataRequest
        Parameters:
        request - Request to check
        Returns:
        true if handler can handle request, else false
      • extract

        java.lang.String extract​(org.apache.olingo.odata2.api.processor.ODataRequest request)
        Extracts the entity from the ODataRequest.
        Parameters:
        request - Use this request to extract the entity
        Returns:
        The entity or empty string