Class TriggerRequests
java.lang.Object
org.chenile.trigger.TriggerRequests
Validation and header rules shared by every
TriggerService implementation. Stateless:
each implementation holds its own instance.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionheaders(TriggerInput input) The headers the event is raised with: the caller'sx-context, then the input's headers, with the tenant reconciled against the caller and the source set.private voidsource(TriggerInput input) voidvalidate(TriggerInput input)
-
Field Details
-
INVALID_TRIGGER
- See Also:
-
-
Constructor Details
-
TriggerRequests
public TriggerRequests()
-
-
Method Details
-
validate
-
headers
The headers the event is raised with: the caller'sx-context, then the input's headers, with the tenant reconciled against the caller and the source set. Any incoming trigger id is dropped so that a caller cannot choose or spoof the accepted trigger. -
source
-
tenant
-
require
-
CHENILE