org.apache.coyote
Interface ProtocolHandler
- Http11Protocol, JkCoyoteHandler, MemoryProtocolHandler
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.
- Remy Maucherat
- Costin Manolache
destroy
public void destroy()
throws Exception
getAdapter
public Adapter getAdapter()
getAttribute
public Object getAttribute(String name)
init
public void init()
throws Exception
Init the protocol.
pause
public void pause()
throws Exception
Pause the protocol (optional).
resume
public void resume()
throws Exception
Resume the protocol (optional).
setAdapter
public void setAdapter(Adapter adapter)
The adapter, used to call the connector.
setAttribute
public void setAttribute(String name,
Object value)
Pass config info.
start
public void start()
throws Exception
Start the protocol.
Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.