T - transport-specific representation of the request which allows extracting
metadata for use in the MCP features implementations.public interface McpTransportContextExtractor<T>
T.| Modifier and Type | Method and Description |
|---|---|
McpTransportContext |
extract(T request,
McpTransportContext transportContext)
Given an empty context, provides the means to fill it with transport-specific
metadata extracted from the request.
|
McpTransportContext extract(T request, McpTransportContext transportContext)
request - the generic representation for the request in the context of a
specific transport implementationtransportContext - the mutable context which can be filled in with metadataCopyright © 2025. All rights reserved.