public static class WebRxSseClientTransport.Builder extends Object
WebRxSseClientTransport.| Constructor and Description |
|---|
Builder(org.noear.solon.net.http.HttpUtilsBuilder webBuilder)
Creates a new builder with the specified base URI.
|
| 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 webBuilder)
webBuilder - the HttpUtilsBuilder to use for creating the HttpUtils instancepublic 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.