Interface AbstractEndpoint.Handler<S>

    • Method Detail

      • getGlobal

        java.lang.Object getGlobal()
        Obtain the GlobalRequestProcessor associated with the handler.
        the GlobalRequestProcessor
      • getOpenSockets

        java.util.Set<S> getOpenSockets()
        Unused, will be removed in Tomcat 10, replaced by AbstractEndpoint.getConnections
        Obtain the currently open sockets.
        The sockets for which the handler is tracking a currently open connection
      • release

        void release​(SocketWrapperBase<S> socketWrapper)
        Release any resources associated with the given SocketWrapper.
        socketWrapper - The socketWrapper to release resources for
      • pause

        void pause()
        Inform the handler that the endpoint has stopped accepting any new connections. Typically, the endpoint will be stopped shortly afterwards but it is possible that the endpoint will be resumed so the handler should not assume that a stop will follow.
      • recycle

        void recycle()
        Recycle resources associated with the handler.