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.

@Deprecated @FunctionalInterface public interface SseMessageEndpointValidator
Deprecated.
This validator is part of the deprecated SSE transport.
Validate the that message endpoint in the SSE transport is valid. Throws InvalidSseMessageEndpointException when then endpoint is not valid.
Author:
Daniel Garnier-Moiroux
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    validate(URI sseUri, String messageEndpoint)
    Deprecated.
    Validate the message endpoint coming from an SSE connection.
  • Method Details

    • validate

      void validate(URI sseUri, String messageEndpoint) throws InvalidSseMessageEndpointException
      Deprecated.
      Validate the message endpoint coming from an SSE connection. Throws if not valid.
      Parameters:
      sseUri - the URI used to establish the SSE connection
      messageEndpoint - the message endpoint from the SSE connection
      Throws:
      InvalidSseMessageEndpointException - error thrown if the message endpoint is not valid.