|
||||||||||
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 coyote connector. (In contrast, Adapter is the main interface to be implemented by a coyote servlet container.)
Adapter
Method Summary | |
---|---|
void |
destroy()
|
Adapter |
getAdapter()
|
Object |
getAttribute(String name)
|
void |
init()
Init the protocol. |
void |
setAdapter(Adapter adapter)
The adapter, used to call the connector. |
void |
setAttribute(String name,
Object value)
Pass config info. |
void |
start()
Start the protocol. |
Method Detail |
---|
void setAttribute(String name, Object value)
Object getAttribute(String name)
void setAdapter(Adapter adapter)
Adapter getAdapter()
void init() throws Exception
Exception
void start() throws Exception
Exception
void destroy() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |