Uses of Interface
io.modelcontextprotocol.json.McpJsonMapper
Packages that use McpJsonMapper
Package
Description
-
Uses of McpJsonMapper in io.modelcontextprotocol.client.transport
Fields in io.modelcontextprotocol.client.transport declared as McpJsonMapperModifier and TypeFieldDescriptionprotected McpJsonMapperHttpClientSseClientTransport.jsonMapperJSON mapper for message serialization/deserializationMethods in io.modelcontextprotocol.client.transport with parameters of type McpJsonMapperModifier and TypeMethodDescriptionHttpClientSseClientTransport.Builder.jsonMapper(McpJsonMapper jsonMapper) Sets the JSON mapper implementation to use for serialization/deserialization.HttpClientStreamableHttpTransport.Builder.jsonMapper(McpJsonMapper jsonMapper) Configure a customMcpJsonMapperimplementation to use.Constructors in io.modelcontextprotocol.client.transport with parameters of type McpJsonMapperModifierConstructorDescriptionStdioClientTransport(ServerParameters params, McpJsonMapper jsonMapper) Creates a new StdioClientTransport with the specified parameters and JsonMapper. -
Uses of McpJsonMapper in io.modelcontextprotocol.json
Fields in io.modelcontextprotocol.json with type parameters of type McpJsonMapperModifier and TypeFieldDescriptionprotected static McpServiceLoader<McpJsonMapperSupplier,McpJsonMapper> McpJsonDefaults.mcpMapperServiceLoaderMethods in io.modelcontextprotocol.json that return McpJsonMapper -
Uses of McpJsonMapper in io.modelcontextprotocol.server
Methods in io.modelcontextprotocol.server with parameters of type McpJsonMapperModifier and TypeMethodDescriptionMcpServer.AsyncSpecification.jsonMapper(McpJsonMapper jsonMapper) Sets the JsonMapper to use for serializing and deserializing JSON messages.McpServer.StatelessAsyncSpecification.jsonMapper(McpJsonMapper jsonMapper) Sets the JsonMapper to use for serializing and deserializing JSON messages.McpServer.StatelessSyncSpecification.jsonMapper(McpJsonMapper jsonMapper) Sets the JsonMapper to use for serializing and deserializing JSON messages.McpServer.SyncSpecification.jsonMapper(McpJsonMapper jsonMapper) Sets the JsonMapper to use for serializing and deserializing JSON messages. -
Uses of McpJsonMapper in io.modelcontextprotocol.server.transport
Methods in io.modelcontextprotocol.server.transport with parameters of type McpJsonMapperModifier and TypeMethodDescriptionHttpServletSseServerTransportProvider.Builder.jsonMapper(McpJsonMapper jsonMapper) Sets the JsonMapper implementation to use for serialization/deserialization.HttpServletStatelessServerTransport.Builder.jsonMapper(McpJsonMapper jsonMapper) Sets the JsonMapper to use for JSON serialization/deserialization of MCP messages.HttpServletStreamableServerTransportProvider.Builder.jsonMapper(McpJsonMapper jsonMapper) Sets the JsonMapper to use for JSON serialization/deserialization of MCP messages.Constructors in io.modelcontextprotocol.server.transport with parameters of type McpJsonMapperModifierConstructorDescriptionStdioServerTransportProvider(McpJsonMapper jsonMapper) Creates a new StdioServerTransportProvider with the specified ObjectMapper and System streams.StdioServerTransportProvider(McpJsonMapper jsonMapper, InputStream inputStream, OutputStream outputStream) Creates a new StdioServerTransportProvider with the specified ObjectMapper and streams. -
Uses of McpJsonMapper in io.modelcontextprotocol.spec
Methods in io.modelcontextprotocol.spec with parameters of type McpJsonMapperModifier and TypeMethodDescriptionMcpSchema.CallToolRequest.Builder.arguments(McpJsonMapper jsonMapper, String jsonArguments) static McpSchema.JSONRPCMessageMcpSchema.deserializeJsonRpcMessage(McpJsonMapper jsonMapper, String jsonText) Deserializes a JSON string into a JSONRPCMessage object.McpSchema.Tool.Builder.inputSchema(McpJsonMapper jsonMapper, String inputSchema) McpSchema.Tool.Builder.outputSchema(McpJsonMapper jsonMapper, String outputSchema) McpSchema.CallToolResult.Builder.structuredContent(McpJsonMapper jsonMapper, String structuredContent) Constructors in io.modelcontextprotocol.spec with parameters of type McpJsonMapperModifierConstructorDescriptionCallToolRequest(McpJsonMapper jsonMapper, String name, String jsonArguments)