public static class WebRxSseClientTransport.Builder
extends java.lang.Object
WebRxSseClientTransport
.构造器和说明 |
---|
Builder(org.noear.solon.net.http.HttpUtilsBuilder webClientBuilder)
Creates a new builder with the specified WebClient.Builder.
|
限定符和类型 | 方法和说明 |
---|---|
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 webClientBuilder)
webClientBuilder
- the WebClient.Builder to usepublic 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.