Skip to content

Commit 57f0e0a

Browse files
committed
minor
Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
1 parent 53f5740 commit 57f0e0a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

mcp/src/main/java/io/modelcontextprotocol/client/transport/HttpClientSseClientTransport.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public class HttpClientSseClientTransport implements McpClientTransport {
111111
/**
112112
* Creates a new transport instance with default HTTP client and object mapper.
113113
* @param baseUri the base URI of the MCP server
114-
* @deprecated Use {@link HttpClientSseClientTransport2#builder(String)} instead. This
114+
* @deprecated Use {@link HttpClientSseClientTransport#builder(String)} instead. This
115115
* constructor will be removed in future versions.
116116
*/
117117
@Deprecated(forRemoval = true)
@@ -125,7 +125,7 @@ public HttpClientSseClientTransport(String baseUri) {
125125
* @param baseUri the base URI of the MCP server
126126
* @param objectMapper the object mapper for JSON serialization/deserialization
127127
* @throws IllegalArgumentException if objectMapper or clientBuilder is null
128-
* @deprecated Use {@link HttpClientSseClientTransport2#builder(String)} instead. This
128+
* @deprecated Use {@link HttpClientSseClientTransport#builder(String)} instead. This
129129
* constructor will be removed in future versions.
130130
*/
131131
@Deprecated(forRemoval = true)
@@ -140,7 +140,7 @@ public HttpClientSseClientTransport(HttpClient.Builder clientBuilder, String bas
140140
* @param sseEndpoint the SSE endpoint path
141141
* @param objectMapper the object mapper for JSON serialization/deserialization
142142
* @throws IllegalArgumentException if objectMapper or clientBuilder is null
143-
* @deprecated Use {@link HttpClientSseClientTransport2#builder(String)} instead. This
143+
* @deprecated Use {@link HttpClientSseClientTransport#builder(String)} instead. This
144144
* constructor will be removed in future versions.
145145
*/
146146
@Deprecated(forRemoval = true)
@@ -158,7 +158,7 @@ public HttpClientSseClientTransport(HttpClient.Builder clientBuilder, String bas
158158
* @param sseEndpoint the SSE endpoint path
159159
* @param objectMapper the object mapper for JSON serialization/deserialization
160160
* @throws IllegalArgumentException if objectMapper, clientBuilder, or headers is null
161-
* @deprecated Use {@link HttpClientSseClientTransport2#builder(String)} instead. This
161+
* @deprecated Use {@link HttpClientSseClientTransport#builder(String)} instead. This
162162
* constructor will be removed in future versions.
163163
*/
164164
@Deprecated(forRemoval = true)
@@ -193,7 +193,7 @@ public HttpClientSseClientTransport(HttpClient.Builder clientBuilder, HttpReques
193193
}
194194

195195
/**
196-
* Creates a new builder for {@link HttpClientSseClientTransport2}.
196+
* Creates a new builder for {@link HttpClientSseClientTransport}.
197197
* @param baseUri the base URI of the MCP server
198198
* @return a new builder instance
199199
*/
@@ -202,7 +202,7 @@ public static Builder builder(String baseUri) {
202202
}
203203

204204
/**
205-
* Builder for {@link HttpClientSseClientTransport2}.
205+
* Builder for {@link HttpClientSseClientTransport}.
206206
*/
207207
public static class Builder {
208208

@@ -229,7 +229,7 @@ public static class Builder {
229229
/**
230230
* Creates a new builder with the specified base URI.
231231
* @param baseUri the base URI of the MCP server
232-
* @deprecated Use {@link HttpClientSseClientTransport2#builder(String)} instead.
232+
* @deprecated Use {@link HttpClientSseClientTransport#builder(String)} instead.
233233
* This constructor is deprecated and will be removed or made {@code protected} or
234234
* {@code private} in a future release.
235235
*/
@@ -317,7 +317,7 @@ public Builder objectMapper(ObjectMapper objectMapper) {
317317
}
318318

319319
/**
320-
* Builds a new {@link HttpClientSseClientTransport2} instance.
320+
* Builds a new {@link HttpClientSseClientTransport} instance.
321321
* @return a new transport instance
322322
*/
323323
public HttpClientSseClientTransport build() {

0 commit comments

Comments
 (0)