Interface SseMessageEndpointValidator
- All Known Implementing Classes:
DefaultSseMessageEndpointValidator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Validate the that message endpoint in the SSE transport is valid. Throws
InvalidSseMessageEndpointException when then endpoint is not valid.- Author:
- Daniel Garnier-Moiroux
-
Method Summary
-
Method Details
-
validate
Validate the message endpoint coming from an SSE connection. Throws if not valid.- Parameters:
sseUri- the URI used to establish the SSE connectionmessageEndpoint- the message endpoint from the SSE connection- Throws:
InvalidSseMessageEndpointException- error thrown if the message endpoint is not valid.
-