public static class WebRxSseClientTransport.Builder
extends java.lang.Object
WebRxSseClientTransport
.构造器和说明 |
---|
Builder(org.noear.solon.net.http.HttpUtilsBuilder webBuilder)
Creates a new builder with the specified base URI.
|
限定符和类型 | 方法和说明 |
---|---|
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(java.lang.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(java.lang.String sseEndpoint)
sseEndpoint
- the SSE endpoint pathpublic WebRxSseClientTransport.Builder objectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
objectMapper
- the object mapperpublic WebRxSseClientTransport build()
WebRxSseClientTransport
instance.