Interface RequestSupportedStrategy
-
- All Known Implementing Classes:
PaymentProviderRequestSupportedStrategy
public interface RequestSupportedStrategyInterface for checking if request is supported in current configuration (e.g. for current base store, for payment provider)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcheckIfRequestSupported(java.lang.String requestId)Method check if request is supported and throws exception if notbooleanisRequestSupported(java.lang.String requestId)Method check if request is supported
-
-
-
Method Detail
-
isRequestSupported
boolean isRequestSupported(java.lang.String requestId)
Method check if request is supported- Parameters:
requestId- request identifier (e.g. request path)- Returns:
- true if request is supported
false if request is not supported
-
checkIfRequestSupported
void checkIfRequestSupported(java.lang.String requestId) throws UnsupportedRequestExceptionMethod check if request is supported and throws exception if not- Parameters:
requestId- request identifier (e.g. request path)- Throws:
UnsupportedRequestException- when request is not supported
-
-