Package org.apache.catalina.connector
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
destroy()
Object
getAttribute(String name)
org.glassfish.grizzly.http.server.HttpHandler
getHandler()
void
init()
Init the protocol.void
setAttribute(String name, Object value)
Pass config info.void
setHandler(org.glassfish.grizzly.http.server.HttpHandler handler)
The adapter, used to call the connector.void
start()
Start the protocol.
-