Interface RequestSupportedStrategy
- All Known Implementing Classes:
PaymentProviderRequestSupportedStrategy
public interface RequestSupportedStrategy
Interface for checking if request is supported in current configuration (e.g. for current base store, for payment
provider)
-
Method Summary
Modifier and TypeMethodDescriptionvoidcheckIfRequestSupported(String requestId) Method check if request is supported and throws exception if notbooleanisRequestSupported(String requestId) Method check if request is supported
-
Method Details
-
isRequestSupported
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
Method 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
-