Interface ProtocolHandler

  • All Known Implementing Classes:
    CoyoteConnectorLauncher, DummyConnectorLauncher

    public interface ProtocolHandler
    Abstract the protocol implementation, including threading, etc. Processor is single threaded and specific to stream-based protocols, will not fit Jk protocols like JNI.

    This is the main interface to be implemented by a coyote connector. (In contrast, Adapter is the main interface to be implemented by a coyote servlet container.)

    Author:
    Remy Maucherat, Costin Manolache
    See Also:
    HttpHandler
    • Method Detail

      • setAttribute

        void setAttribute​(String name,
                          Object value)
        Pass config info.
      • setHandler

        void setHandler​(org.glassfish.grizzly.http.server.HttpHandler handler)
        The adapter, used to call the connector.
      • getHandler

        org.glassfish.grizzly.http.server.HttpHandler getHandler()