Apache Tomcat 7.0.16

org.apache.coyote
Class AbstractProcessor

java.lang.Object
  extended by org.apache.coyote.AbstractProcessor
All Implemented Interfaces:
ActionHook, Processor
Direct Known Subclasses:
AbstractAjpProcessor, AbstractHttp11Processor

public abstract class AbstractProcessor
extends Object
implements ActionHook, Processor

Provides attributes common to all support protocols (currently HTTP and AJP). TODO: There are more attributes that can be pulled up


Field Summary
protected  AbstractEndpoint endpoint
          The endpoint receiving connections that are handled by this processor.
protected  Request request
          The request associated with this processor.
protected  Response response
          The response associated with this processor.
 
Constructor Summary
AbstractProcessor()
           
 
Method Summary
protected  AbstractEndpoint getEndpoint()
           
 Executor getExecutor()
          Obtain the Executor used by the underlying endpoint.
 Request getRequest()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.coyote.ActionHook
action
 

Field Detail

endpoint

protected AbstractEndpoint endpoint
The endpoint receiving connections that are handled by this processor.


request

protected Request request
The request associated with this processor.


response

protected Response response
The response associated with this processor.

Constructor Detail

AbstractProcessor

public AbstractProcessor()
Method Detail

getEndpoint

protected AbstractEndpoint getEndpoint()

getRequest

public Request getRequest()

getExecutor

public Executor getExecutor()
Obtain the Executor used by the underlying endpoint.

Specified by:
getExecutor in interface Processor

Apache Tomcat 7.0.16

Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.