Uses of Interface
io.modelcontextprotocol.spec.McpSchema.JSONRPCMessage
Packages that use McpSchema.JSONRPCMessage
Package
Description
-
Uses of McpSchema.JSONRPCMessage in io.modelcontextprotocol.client.transport
Methods in io.modelcontextprotocol.client.transport with parameters of type McpSchema.JSONRPCMessageModifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>HttpClientSseClientTransport.sendMessage(McpSchema.JSONRPCMessage message) Sends a JSON-RPC message to the server.reactor.core.publisher.Mono<Void>StdioClientTransport.sendMessage(McpSchema.JSONRPCMessage message) Method parameters in io.modelcontextprotocol.client.transport with type arguments of type McpSchema.JSONRPCMessageModifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>HttpClientSseClientTransport.connect(Function<reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>, reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>> handler) Establishes the SSE connection with the server and sets up message handling.reactor.core.publisher.Mono<Void>HttpClientSseClientTransport.connect(Function<reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>, reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>> handler) Establishes the SSE connection with the server and sets up message handling.reactor.core.publisher.Mono<Void>StdioClientTransport.connect(Function<reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>, reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>> handler) Starts the server process and initializes the message processing streams.reactor.core.publisher.Mono<Void>StdioClientTransport.connect(Function<reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>, reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>> handler) Starts the server process and initializes the message processing streams.protected voidStdioClientTransport.handleOutbound(Function<reactor.core.publisher.Flux<McpSchema.JSONRPCMessage>, reactor.core.publisher.Flux<McpSchema.JSONRPCMessage>> outboundConsumer) protected voidStdioClientTransport.handleOutbound(Function<reactor.core.publisher.Flux<McpSchema.JSONRPCMessage>, reactor.core.publisher.Flux<McpSchema.JSONRPCMessage>> outboundConsumer) -
Uses of McpSchema.JSONRPCMessage in io.modelcontextprotocol.server.transport
Methods in io.modelcontextprotocol.server.transport with parameters of type McpSchema.JSONRPCMessageModifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>HttpServletSseServerTransport.sendMessage(McpSchema.JSONRPCMessage message) Deprecated.Broadcasts a message to all connected clients.reactor.core.publisher.Mono<Void>StdioServerTransport.sendMessage(McpSchema.JSONRPCMessage message) Deprecated.Method parameters in io.modelcontextprotocol.server.transport with type arguments of type McpSchema.JSONRPCMessageModifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>HttpServletSseServerTransport.connect(Function<reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>, reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>> handler) Deprecated.Sets up the message handler for processing client requests.reactor.core.publisher.Mono<Void>HttpServletSseServerTransport.connect(Function<reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>, reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>> handler) Deprecated.Sets up the message handler for processing client requests.reactor.core.publisher.Mono<Void>StdioServerTransport.connect(Function<reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>, reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>> handler) Deprecated.reactor.core.publisher.Mono<Void>StdioServerTransport.connect(Function<reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>, reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>> handler) Deprecated. -
Uses of McpSchema.JSONRPCMessage in io.modelcontextprotocol.spec
Classes in io.modelcontextprotocol.spec that implement McpSchema.JSONRPCMessageModifier and TypeClassDescriptionstatic final recordstatic final recordstatic final recordMethods in io.modelcontextprotocol.spec that return McpSchema.JSONRPCMessageModifier and TypeMethodDescriptionstatic McpSchema.JSONRPCMessageMcpSchema.deserializeJsonRpcMessage(com.fasterxml.jackson.databind.ObjectMapper objectMapper, String jsonText) Deserializes a JSON string into a JSONRPCMessage object.Methods in io.modelcontextprotocol.spec with parameters of type McpSchema.JSONRPCMessageModifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>McpServerSession.handle(McpSchema.JSONRPCMessage message) Called by theMcpServerTransportProvideronce the session is determined.reactor.core.publisher.Mono<Void>McpTransport.sendMessage(McpSchema.JSONRPCMessage message) Sends a message to the peer asynchronously.Method parameters in io.modelcontextprotocol.spec with type arguments of type McpSchema.JSONRPCMessageModifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>McpClientTransport.connect(Function<reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>, reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>> handler) reactor.core.publisher.Mono<Void>McpClientTransport.connect(Function<reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>, reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>> handler) default reactor.core.publisher.Mono<Void>McpTransport.connect(Function<reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>, reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>> handler) Deprecated.This is only relevant for client-side transports and will be removed from this interface in 0.9.0.default reactor.core.publisher.Mono<Void>McpTransport.connect(Function<reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>, reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>> handler) Deprecated.This is only relevant for client-side transports and will be removed from this interface in 0.9.0.