Uses of Class
io.modelcontextprotocol.json.TypeRef
Packages that use TypeRef
Package
Description
-
Uses of TypeRef in io.modelcontextprotocol.client
Fields in io.modelcontextprotocol.client declared as TypeRefModifier and TypeFieldDescriptionstatic final TypeRef<McpSchema.CreateMessageRequest>McpAsyncClient.CREATE_MESSAGE_REQUEST_TYPE_REFstatic final TypeRef<McpSchema.InitializeResult>McpAsyncClient.INITIALIZE_RESULT_TYPE_REFstatic final TypeRef<McpSchema.LoggingMessageNotification>McpAsyncClient.LOGGING_MESSAGE_NOTIFICATION_TYPE_REFMcpAsyncClient.OBJECT_TYPE_REFstatic final TypeRef<McpSchema.PaginatedRequest>McpAsyncClient.PAGINATED_REQUEST_TYPE_REFstatic final TypeRef<McpSchema.ProgressNotification>McpAsyncClient.PROGRESS_NOTIFICATION_TYPE_REF -
Uses of TypeRef in io.modelcontextprotocol.client.transport
Methods in io.modelcontextprotocol.client.transport with parameters of type TypeRefModifier and TypeMethodDescription<T> THttpClientSseClientTransport.unmarshalFrom(Object data, TypeRef<T> typeRef) Unmarshal data to the specified type using the configured object mapper.<T> THttpClientStreamableHttpTransport.unmarshalFrom(Object data, TypeRef<T> typeRef) <T> TStdioClientTransport.unmarshalFrom(Object data, TypeRef<T> typeRef) -
Uses of TypeRef in io.modelcontextprotocol.json
Methods in io.modelcontextprotocol.json with parameters of type TypeRefModifier and TypeMethodDescription<T> TMcpJsonMapper.convertValue(Object fromValue, TypeRef<T> type) Convert a value to a given parameterized type.<T> TDeserialize JSON bytes into a parameterized target type.<T> TDeserialize JSON string into a parameterized target type. -
Uses of TypeRef in io.modelcontextprotocol.server
Fields in io.modelcontextprotocol.server declared as TypeRef -
Uses of TypeRef in io.modelcontextprotocol.spec
Methods in io.modelcontextprotocol.spec with parameters of type TypeRefModifier and TypeMethodDescription<T> reactor.core.publisher.Mono<T>McpClientSession.sendRequest(String method, Object requestParams, TypeRef<T> typeRef) Sends a JSON-RPC request and returns the response.<T> reactor.core.publisher.Mono<T>McpServerSession.sendRequest(String method, Object requestParams, TypeRef<T> typeRef) <T> reactor.core.publisher.Mono<T>McpSession.sendRequest(String method, Object requestParams, TypeRef<T> typeRef) Sends a request to the model counterparty and expects a response of type T.<T> reactor.core.publisher.Mono<T>McpStreamableServerSession.McpStreamableServerSessionStream.sendRequest(String method, Object requestParams, TypeRef<T> typeRef) <T> reactor.core.publisher.Mono<T>McpStreamableServerSession.sendRequest(String method, Object requestParams, TypeRef<T> typeRef) <T> reactor.core.publisher.Mono<T>MissingMcpTransportSession.sendRequest(String method, Object requestParams, TypeRef<T> typeRef) <T> TMcpTransport.unmarshalFrom(Object data, TypeRef<T> typeRef) Unmarshals the given data into an object of the specified type.