Class ServletUpgradeListener<T extends jakarta.servlet.http.HttpUpgradeHandler>

  • All Implemented Interfaces:
    io.undertow.server.HttpUpgradeListener

    public class ServletUpgradeListener<T extends jakarta.servlet.http.HttpUpgradeHandler>
    extends java.lang.Object
    implements io.undertow.server.HttpUpgradeListener
    Lister that handles a servlet exchange upgrade event.
    Author:
    Stuart Douglas
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handleUpgrade​(org.xnio.StreamConnection channel, io.undertow.server.HttpServerExchange exchange)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ServletUpgradeListener

        public ServletUpgradeListener​(InstanceHandle<T> instance,
                                      Deployment deployment,
                                      io.undertow.server.HttpServerExchange exchange)
    • Method Detail

      • handleUpgrade

        public void handleUpgrade​(org.xnio.StreamConnection channel,
                                  io.undertow.server.HttpServerExchange exchange)
        Specified by:
        handleUpgrade in interface io.undertow.server.HttpUpgradeListener