Apache Tomcat 7.0.4

org.apache.coyote.ajp
Class AjpAprProtocol

java.lang.Object
  extended by org.apache.coyote.ajp.AbstractAjpProtocol
      extended by org.apache.coyote.ajp.AjpAprProtocol
All Implemented Interfaces:
MBeanRegistration, ProtocolHandler

public class AjpAprProtocol
extends AbstractAjpProtocol

Abstract the protocol implementation, including threading, etc. Processor is single threaded and specific to stream-based protocols, will not fit Jk protocols like JNI.

Author:
Remy Maucherat, Costin Manolache

Nested Class Summary
protected static class AjpAprProtocol.AjpConnectionHandler
           
 
Field Summary
 
Fields inherited from class org.apache.coyote.ajp.AbstractAjpProtocol
adapter, attributes, domain, endpoint, keepAliveTimeout, mserver, oname, packetSize, processorCache, requiredSecret, rgOname, sm, tomcatAuthentication, tpOname
 
Constructor Summary
AjpAprProtocol()
           
 
Method Summary
protected  Log getLog()
           
 int getPollerSize()
           
 int getPollTime()
           
 boolean getUseSendfile()
           
 void init()
          Start the protocol
 void setPollerSize(int pollerSize)
           
 void setPollTime(int pollTime)
           
 void setUseSendfile(boolean useSendfile)
           
 void start()
          Start the protocol.
 
Methods inherited from class org.apache.coyote.ajp.AbstractAjpProtocol
destroy, getAdapter, getAddress, getAttribute, getAttributeNames, getBacklog, getDomain, getExecutor, getKeepAliveTimeout, getMaxThreads, getName, getObjectName, getPacketSize, getPort, getProcessorCache, getProperty, getSoLinger, getSoTimeout, getTcpNoDelay, getThreadPriority, getTomcatAuthentication, pause, postDeregister, postRegister, preDeregister, preRegister, resume, setAdapter, setAddress, setAttribute, setBacklog, setExecutor, setKeepAliveTimeout, setMaxThreads, setPacketSize, setPort, setProcessorCache, setProperty, setRequiredSecret, setSoLinger, setSoTimeout, setTcpNoDelay, setThreadPriority, setTomcatAuthentication, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AjpAprProtocol

public AjpAprProtocol()
Method Detail

getLog

protected Log getLog()
Specified by:
getLog in class AbstractAjpProtocol

init

public void init()
          throws Exception
Start the protocol

Throws:
Exception

start

public void start()
           throws Exception
Description copied from interface: ProtocolHandler
Start the protocol.

Throws:
Exception

getUseSendfile

public boolean getUseSendfile()

setUseSendfile

public void setUseSendfile(boolean useSendfile)

getPollTime

public int getPollTime()

setPollTime

public void setPollTime(int pollTime)

setPollerSize

public void setPollerSize(int pollerSize)

getPollerSize

public int getPollerSize()

Apache Tomcat 7.0.4

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