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 Details

    • JSON_PAYLOAD

      public static final io.undertow.util.AttachmentKey<jakarta.json.JsonObject> JSON_PAYLOAD
    • SESSION_ID

      public static final io.undertow.util.AttachmentKey<String> SESSION_ID
  • Constructor Details

    • McpStreamableConnectionCallBack

      public McpStreamableConnectionCallBack(ConnectionManager connectionManager)
  • Method Details

    • connected

      public void connected(io.undertow.server.handlers.sse.ServerSentEventConnection sseConnection, String lastEventId)
      Specified by:
      connected in interface io.undertow.server.handlers.sse.ServerSentEventConnectionCallback