ProtocolHandlerpublic 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 coyoute connector.
Adapter is the main interface to be impleneted by a coyote servlet container. |
Methods Summary |
---|
public void | destroy()
| public Adapter | getAdapter()
| public java.lang.Object | getAttribute(java.lang.String name)
| public java.util.Iterator | getAttributeNames()
| public void | init()Init the protocol.
| public void | pause()Pause the protocol (optional).
| public void | resume()Resume the protocol (optional).
| public void | setAdapter(Adapter adapter)The adapter, used to call the connector.
| public void | setAttribute(java.lang.String name, java.lang.Object value)Pass config info.
| public void | start()Start the protocol.
|
|