Class RestHookChannelValidator

java.lang.Object
ca.uhn.fhir.jpa.subscription.submit.interceptor.validator.RestHookChannelValidator
All Implemented Interfaces:
IChannelTypeValidator

public class RestHookChannelValidator extends Object implements IChannelTypeValidator
Definition of a REST Hook channel validator that perform checks on the channel payload and endpoint URL. The channel payload will always evaluate in the same manner where endpoint URL validation can be extended beyond the minimal validation perform by this class. At a minimum, this class ensures that the provided URL is not blank or null. Supplemental validation(s) should be encapsulated into a RestHookChannelValidator.IEndpointUrlValidationStrategy and provided with the arg constructor.