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 HttpUtilsBuilder.
|
| 限定符和类型 | 方法和说明 |
|---|---|
WebRxSseClientTransport |
build()
Builds a new
WebRxSseClientTransport instance. |
WebRxSseClientTransport.Builder |
jsonMapper(McpJsonMapper jsonMapper)
Sets the JSON mapper for 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 HttpUtilsBuilder to usepublic WebRxSseClientTransport.Builder sseEndpoint(java.lang.String sseEndpoint)
sseEndpoint - the SSE endpoint pathpublic WebRxSseClientTransport.Builder jsonMapper(McpJsonMapper jsonMapper)
jsonMapper - the JsonMapper to usepublic WebRxSseClientTransport build()
WebRxSseClientTransport instance.