Class McpServerSentConnectionCallBack

java.lang.Object
org.wildfly.extension.mcp.server.McpServerSentConnectionCallBack
All Implemented Interfaces:
io.undertow.server.handlers.sse.ServerSentEventConnectionCallback

public class McpServerSentConnectionCallBack extends Object implements io.undertow.server.handlers.sse.ServerSentEventConnectionCallback
  • Constructor Details

    • McpServerSentConnectionCallBack

      public McpServerSentConnectionCallBack(String endpoint, 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