FileDocCategorySizeDatePackage
ProtocolHandler.javaAPI DocApache Tomcat 6.0.142197Fri Jul 20 04:20:32 BST 2007org.apache.coyote

ProtocolHandler

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.
author
Remy Maucherat
author
Costin Manolache
see
Adapter

Fields Summary
Constructors Summary
Methods Summary
public voiddestroy()

public AdaptergetAdapter()

public java.lang.ObjectgetAttribute(java.lang.String name)

public java.util.IteratorgetAttributeNames()

public voidinit()
Init the protocol.

public voidpause()
Pause the protocol (optional).

public voidresume()
Resume the protocol (optional).

public voidsetAdapter(Adapter adapter)
The adapter, used to call the connector.

public voidsetAttribute(java.lang.String name, java.lang.Object value)
Pass config info.

public voidstart()
Start the protocol.