Interface SseClientConfigurer


@Experimental @NoImplement @MinMuleVersion("4.10.0") public interface SseClientConfigurer
Configures instances of SseClient.
Since:
0.12.0
  • Method Details

    • withRequestContext

      SseClientConfigurer withRequestContext(HttpRequestContext requestContext)
      Configures the request context.
      Parameters:
      requestContext - the request context.
      Returns:
      this configurer.
    • withClientId

      SseClientConfigurer withClientId(String clientId)
      Configures the client id.
      Parameters:
      clientId - the client id.
      Returns:
      this configurer.
    • withRemoteAddress

      SseClientConfigurer withRemoteAddress(InetSocketAddress remoteAddress)
      Configures the remote address.
      Parameters:
      remoteAddress - the remote address.
      Returns:
      this configurer.
    • customizeResponse

      SseClientConfigurer customizeResponse(Consumer<SseResponseCustomizer> callback)
      Allows customizing the response by passing a callback.
      Parameters:
      callback - the callback.
      Returns:
      this configurer.