FileDocCategorySizeDatePackage
ProtocolHandler.javaAPI DocGlassfish v2 API3036Fri May 04 22:32:42 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 coyote connector. (In contrast, Adapter is the main interface to be implemented by a coyote servlet container.)
see
Adapter
author
Remy Maucherat
author
Costin Manolache

Fields Summary
Constructors Summary
Methods Summary
public voiddestroy()

public AdaptergetAdapter()

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

public voidinit()
Init the protocol.

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.