|
Apache Tomcat 7.0.39 | ||||||||
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. Adapter is the main interface to be implemented by a coyote servlet container.
Adapter
Method Summary | |
---|---|
void |
destroy()
Destroy the protocol (optional). |
Adapter |
getAdapter()
|
Executor |
getExecutor()
The executor, provide access to the underlying thread pool. |
void |
init()
Initialise the protocol. |
boolean |
isAprRequired()
Requires APR/native library |
void |
pause()
Pause the protocol (optional). |
void |
resume()
Resume the protocol (optional). |
void |
setAdapter(Adapter adapter)
The adapter, used to call the connector. |
void |
start()
Start the protocol. |
void |
stop()
Stop the protocol. |
Method Detail |
---|
void setAdapter(Adapter adapter)
Adapter getAdapter()
Executor getExecutor()
void init() throws Exception
Exception
void start() throws Exception
Exception
void pause() throws Exception
Exception
void resume() throws Exception
Exception
void stop() throws Exception
Exception
void destroy() throws Exception
Exception
boolean isAprRequired()
|
Apache Tomcat 7.0.39 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |