Interface McpSseStream
public interface McpSseStream
Read-only identity and metadata for an MCP session-bound SSE stream.
- Author:
- Mark Allen
-
Method Summary
Modifier and TypeMethodDescription@NonNull Class<? extends McpEndpoint> The endpoint class associated with the stream.Returns the moment at which this stream was established.The request that established the MCP SSE stream.The MCP session ID associated with the stream.
-
Method Details
-
getRequest
-
getEndpointClass
@NonNull Class<? extends McpEndpoint> getEndpointClass()The endpoint class associated with the stream.- Returns:
- the endpoint class
-
getSessionId
The MCP session ID associated with the stream.- Returns:
- the session ID
-
getEstablishedAt
Returns the moment at which this stream was established.- Returns:
- the stream establishment moment
-