public interface McpTransportContext
| Modifier and Type | Field and Description |
|---|---|
static McpTransportContext |
EMPTY
An empty, unmodifiable context.
|
static String |
KEY
Key for use in Reactor Context to transport the context to user land.
|
| Modifier and Type | Method and Description |
|---|---|
McpTransportContext |
copy()
Copies the contents of the context to allow further modifications without affecting
the initial object.
|
Object |
get(String key)
Extract a value from the context.
|
void |
put(String key,
Object value)
Inserts a value for a given key.
|
static final String KEY
static final McpTransportContext EMPTY
Object get(String key)
key - the key under the data is expectednull if missing.void put(String key, Object value)
key - a String representing the keyvalue - the value to storeMcpTransportContext copy()
Copyright © 2025. All rights reserved.