Interface McpStatelessServerTransport

All Known Implementing Classes:
HttpServletStatelessServerTransport

public interface McpStatelessServerTransport
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Immediately closes all the transports with connected clients and releases any associated resources.
    reactor.core.publisher.Mono<Void>
    Gracefully closes all the transports with connected clients and releases any associated resources asynchronously.
    default String
     
    void
     
  • Method Details

    • setMcpHandler

      void setMcpHandler(McpStatelessServerHandler mcpHandler)
    • close

      default void close()
      Immediately closes all the transports with connected clients and releases any associated resources.
    • closeGracefully

      reactor.core.publisher.Mono<Void> closeGracefully()
      Gracefully closes all the transports with connected clients and releases any associated resources asynchronously.
      Returns:
      a reactor.core.publisher.Mono<Void> that completes when the connections have been closed.
    • protocolVersion

      default String protocolVersion()