Class GetODataRequestEntityExtractor

    • Method Summary

      All Methods Instance Methods Concrete 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GetODataRequestEntityExtractor

        public GetODataRequestEntityExtractor()
    • Method Detail

      • isApplicable

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

        public java.lang.String extract​(org.apache.olingo.odata2.api.processor.ODataRequest request)
        Description copied from interface: ODataRequestEntityExtractor
        Extracts the entity from the ODataRequest.
        Specified by:
        extract in interface ODataRequestEntityExtractor
        Parameters:
        request - Use this request to extract the entity
        Returns:
        The entity or empty string