Fix javadoc references and formatting (#149)

This commit is contained in:
wangzhi 2025-04-23 23:03:10 +08:00 • committed by GitHub
commit 9c92a2b8bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 6 additions and 5 deletions

View file

@ -30,7 +30,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy;
/** /**
* Test suite for the {@link McpAsyncServer} that can be used with different * Test suite for the {@link McpAsyncServer} that can be used with different
* {@link McpTransportProvider} implementations. * {@link io.modelcontextprotocol.spec.McpServerTransportProvider} implementations.
* *
* @author Christian Tzolov * @author Christian Tzolov
*/ */

View file

@ -27,7 +27,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy;
/** /**
* Test suite for the {@link McpSyncServer} that can be used with different * Test suite for the {@link McpSyncServer} that can be used with different
* {@link McpTransportProvider} implementations. * {@link io.modelcontextprotocol.spec.McpServerTransportProvider} implementations.
* *
* @author Christian Tzolov * @author Christian Tzolov
*/ */

View file

@ -317,9 +317,9 @@ public class McpAsyncClient {
* The client MUST initiate this phase by sending an initialize request containing: * The client MUST initiate this phase by sending an initialize request containing:
* The protocol version the client supports, client's capabilities and clients * The protocol version the client supports, client's capabilities and clients
* implementation information. * implementation information.
* <p/> * <p>
* The server MUST respond with its own capabilities and information. * The server MUST respond with its own capabilities and information.
* <p/> * </p>
* After successful initialization, the client MUST send an initialized notification * After successful initialization, the client MUST send an initialized notification
* to indicate it is ready to begin normal operations. * to indicate it is ready to begin normal operations.
* @return the initialize result. * @return the initialize result.

View file

@ -64,7 +64,8 @@ public class McpServerSession implements McpSession {
* {@link io.modelcontextprotocol.spec.McpSchema.InitializeRequest} is received by the * {@link io.modelcontextprotocol.spec.McpSchema.InitializeRequest} is received by the
* server * server
* @param initNotificationHandler called when a * @param initNotificationHandler called when a
* {@link McpSchema.METHOD_NOTIFICATION_INITIALIZED} is received. * {@link io.modelcontextprotocol.spec.McpSchema#METHOD_NOTIFICATION_INITIALIZED} is
* received.
* @param requestHandlers map of request handlers to use * @param requestHandlers map of request handlers to use
* @param notificationHandlers map of notification handlers to use * @param notificationHandlers map of notification handlers to use
*/ */