Class McpStreamableConnectionCallBack
java.lang.Object
org.wildfly.extension.mcp.server.McpStreamableConnectionCallBack
- All Implemented Interfaces:
io.undertow.server.handlers.sse.ServerSentEventConnectionCallback
public class McpStreamableConnectionCallBack
extends Object
implements io.undertow.server.handlers.sse.ServerSentEventConnectionCallback
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.undertow.util.AttachmentKey<jakarta.json.JsonObject> static final io.undertow.util.AttachmentKey<String> -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
JSON_PAYLOAD
public static final io.undertow.util.AttachmentKey<jakarta.json.JsonObject> JSON_PAYLOAD -
SESSION_ID
-
-
Constructor Details
-
McpStreamableConnectionCallBack
-
-
Method Details
-
connected
public void connected(io.undertow.server.handlers.sse.ServerSentEventConnection sseConnection, String lastEventId) - Specified by:
connectedin interfaceio.undertow.server.handlers.sse.ServerSentEventConnectionCallback
-