public static class WebRxSseClientTransport.Builder extends Object
WebRxSseClientTransport.| Constructor and Description |
|---|
Builder(org.noear.solon.net.http.HttpUtilsBuilder webClientBuilder)
Creates a new builder with the specified WebClient.Builder.
|
| Modifier and Type | Method and Description |
|---|---|
WebRxSseClientTransport |
build()
Builds a new
WebRxSseClientTransport instance. |
WebRxSseClientTransport.Builder |
objectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Sets the object mapper for JSON serialization/deserialization.
|
WebRxSseClientTransport.Builder |
sseEndpoint(String sseEndpoint)
Sets the SSE endpoint path.
|
public Builder(org.noear.solon.net.http.HttpUtilsBuilder webClientBuilder)
webClientBuilder - the WebClient.Builder to usepublic WebRxSseClientTransport.Builder sseEndpoint(String sseEndpoint)
sseEndpoint - the SSE endpoint pathpublic WebRxSseClientTransport.Builder objectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
objectMapper - the object mapperpublic WebRxSseClientTransport build()
WebRxSseClientTransport instance.Copyright © 2025. All rights reserved.