Interface ODataRequestEntityExtractor
-
- All Known Implementing Classes:
GetODataRequestEntityExtractor,PostODataRequestEntityExtractor
public interface ODataRequestEntityExtractorExtracts the entity from theODataRequest.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Stringextract(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 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 givenODataRequest- 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 theODataRequest.- Parameters:
request- Use this request to extract the entity- Returns:
- The entity or empty string
-
-