Save This Page
Home » apache-tomcat-6.0.16-src » org.apache » coyote » memory » [javadoc | source]
org.apache.coyote.memory
public class: MemoryProtocolHandler [javadoc | source]
java.lang.Object
   org.apache.coyote.memory.MemoryProtocolHandler

All Implemented Interfaces:
    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.
Nested Class Summary:
protected class  MemoryProtocolHandler.ByteChunkInputBuffer   
protected class  MemoryProtocolHandler.ByteChunkOutputBuffer   
Field Summary
protected  Adapter adapter    Associated adapter. 
Method from org.apache.coyote.memory.MemoryProtocolHandler Summary:
destroy,   getAdapter,   getAttribute,   getAttributeNames,   init,   pause,   process,   resume,   setAdapter,   setAttribute,   start
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.coyote.memory.MemoryProtocolHandler Detail:
 public  void destroy() throws Exception 
 public Adapter getAdapter() 
 public Object getAttribute(String name) 
 public Iterator getAttributeNames() 
 public  void init() throws Exception 
    Init the protocol.
 public  void pause() throws Exception 
 public  void process(Request request,
    ByteChunk input,
    Response response,
    ByteChunk output) throws Exception 
    Process specified request.
 public  void resume() throws Exception 
 public  void setAdapter(Adapter adapter) 
    The adapter, used to call the connector.
 public  void setAttribute(String name,
    Object value) 
    Pass config info.
 public  void start() throws Exception 
    Start the protocol.