Interface ODataRequestEntityExtractor
- All Known Implementing Classes:
GetODataRequestEntityExtractor,PostODataRequestEntityExtractor
public interface ODataRequestEntityExtractor
Extracts the entity from the
ODataRequest.-
Method Summary
Modifier and TypeMethodDescriptionextract(org.apache.olingo.odata2.api.processor.ODataRequest request) Extracts the entity from theODataRequest.booleanisApplicable(org.apache.olingo.odata2.api.processor.ODataRequest request) Indicates whether this Extractor should be used to extract the entity from the givenODataRequest
-
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 givenODataRequest- Parameters:
request- Request to check- Returns:
- true if handler can handle request, else false
-
extract
Extracts the entity from theODataRequest.- Parameters:
request- Use this request to extract the entity- Returns:
- The entity or empty string
-