Package org.apache.catalina.connector
Interface ProtocolHandler
-
- All Known Implementing Classes:
CoyoteConnectorLauncher,DummyConnectorLauncher
public interface ProtocolHandlerAbstract 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddestroy()ObjectgetAttribute(String name)org.glassfish.grizzly.http.server.HttpHandlergetHandler()voidinit()Init the protocol.voidsetAttribute(String name, Object value)Pass config info.voidsetHandler(org.glassfish.grizzly.http.server.HttpHandler handler)The adapter, used to call the connector.voidstart()Start the protocol.
-