|
Apache Tomcat 6.0.53 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 coyoute connector. Adapter is the main interface to be impleneted by a coyote servlet container.
Adapter
Method Summary | |
---|---|
void |
destroy()
|
Adapter |
getAdapter()
|
java.lang.Object |
getAttribute(java.lang.String name)
|
java.util.Iterator |
getAttributeNames()
|
void |
init()
Init the protocol. |
void |
pause()
Pause the protocol (optional). |
void |
resume()
Resume the protocol (optional). |
void |
setAdapter(Adapter adapter)
The adapter, used to call the connector. |
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Pass config info. |
void |
start()
Start the protocol. |
Method Detail |
---|
void setAttribute(java.lang.String name, java.lang.Object value)
java.lang.Object getAttribute(java.lang.String name)
java.util.Iterator getAttributeNames()
void setAdapter(Adapter adapter)
Adapter getAdapter()
void init() throws java.lang.Exception
java.lang.Exception
void start() throws java.lang.Exception
java.lang.Exception
void pause() throws java.lang.Exception
java.lang.Exception
void resume() throws java.lang.Exception
java.lang.Exception
void destroy() throws java.lang.Exception
java.lang.Exception
|
Apache Tomcat 6.0.53 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |