Interface ODataRequestEntityExtractor

All Known Implementing Classes:
GetODataRequestEntityExtractor, PostODataRequestEntityExtractor

public interface ODataRequestEntityExtractor
Extracts the entity from the ODataRequest.
  • Method Summary

    Modifier and Type
    Method
    Description
    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 Details

    • 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

      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