org.eclipse.jetty.ajp
类 Ajp13SocketConnector

java.lang.Object
  继承者 org.eclipse.jetty.util.component.AbstractLifeCycle
      继承者 org.eclipse.jetty.util.component.AggregateLifeCycle
          继承者 org.eclipse.jetty.server.AbstractConnector
              继承者 org.eclipse.jetty.server.bio.SocketConnector
                  继承者 org.eclipse.jetty.ajp.Ajp13SocketConnector
所有已实现的接口:
HttpBuffers, Connector, Destroyable, Dumpable, LifeCycle

public class Ajp13SocketConnector
extends SocketConnector


嵌套类摘要
 
从类 org.eclipse.jetty.server.bio.SocketConnector 继承的嵌套类/接口
SocketConnector.ConnectorEndPoint
 
从类 org.eclipse.jetty.util.component.AbstractLifeCycle 继承的嵌套类/接口
AbstractLifeCycle.AbstractLifeCycleListener
 
从接口 org.eclipse.jetty.util.component.LifeCycle 继承的嵌套类/接口
LifeCycle.Listener
 
字段摘要
 
从类 org.eclipse.jetty.server.bio.SocketConnector 继承的字段
_connections, _localPort, _serverSocket
 
从类 org.eclipse.jetty.server.AbstractConnector 继承的字段
_buffers, _lowResourceMaxIdleTime, _maxIdleTime, _soLingerTime
 
从类 org.eclipse.jetty.util.component.AbstractLifeCycle 继承的字段
_listeners, FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING
 
构造方法摘要
Ajp13SocketConnector()
           
 
方法摘要
 void customize(EndPoint endpoint, Request request)
          Customize a request for an endpoint.
protected  void doStart()
          Start the managed lifecycle beans in the order they were added.
 boolean isConfidential(Request request)
           
 boolean isIntegral(Request request)
           
protected  Connection newConnection(EndPoint endpoint)
          Allows subclass to override Conection if required.
 void setAllowShutdown(boolean allowShutdown)
           
 void setHeaderBufferSize(int headerBufferSize)
          已过时。 
 void setRequestBufferSize(int requestBufferSize)
          Set the size of the content buffer for receiving requests.
 void setResponseBufferSize(int responseBufferSize)
          Set the size of the content buffer for sending responses.
 void setSecretWord(String secretWord)
           
 
从类 org.eclipse.jetty.server.bio.SocketConnector 继承的方法
accept, close, doStop, dump, getConnection, getLocalPort, newServerSocket, open
 
从类 org.eclipse.jetty.server.AbstractConnector 继承的方法
checkForwardedHeaders, configure, connectionClosed, connectionOpened, connectionUpgraded, getAcceptorPriorityOffset, getAcceptors, getAcceptQueueSize, getConfidentialPort, getConfidentialScheme, getConnections, getConnectionsDurationMax, getConnectionsDurationMean, getConnectionsDurationStdDev, getConnectionsDurationTotal, getConnectionsOpen, getConnectionsOpenMax, getConnectionsRequestsMax, getConnectionsRequestsMean, getConnectionsRequestsStdDev, getForwardedCipherSuiteHeader, getForwardedForHeader, getForwardedHostHeader, getForwardedProtoHeader, getForwardedServerHeader, getForwardedSslSessionIdHeader, getHost, getHostHeader, getIntegralPort, getIntegralScheme, getLeftMostFieldValue, getLowResourceMaxIdleTime, getLowResourcesMaxIdleTime, getMaxBuffers, getMaxIdleTime, getName, getPort, getRequestBuffers, getRequestBufferSize, getRequestBufferType, getRequestHeaderSize, getRequestHeaderType, getRequests, getResolveNames, getResponseBuffers, getResponseBufferSize, getResponseBufferType, getResponseHeaderSize, getResponseHeaderType, getReuseAddress, getServer, getSoLingerTime, getStatsOn, getStatsOnMs, getThreadPool, isForwarded, isLowResources, join, persist, setAcceptorPriorityOffset, setAcceptors, setAcceptQueueSize, setConfidentialPort, setConfidentialScheme, setForwarded, setForwardedCipherSuiteHeader, setForwardedForHeader, setForwardedHostHeader, setForwardedProtoHeader, setForwardedServerHeader, setForwardedSslSessionIdHeader, setHost, setHostHeader, setIntegralPort, setIntegralScheme, setLowResourceMaxIdleTime, setLowResourcesMaxIdleTime, setMaxBuffers, setMaxIdleTime, setName, setPort, setRequestBuffers, setRequestHeaderSize, setResolveNames, setResponseBuffers, setResponseHeaderSize, setReuseAddress, setServer, setSoLingerTime, setStatsOn, setThreadPool, statsReset, stopAccept, toString
 
从类 org.eclipse.jetty.util.component.AggregateLifeCycle 继承的方法
addBean, addBean, contains, destroy, dump, dump, dump, dump, dumpObject, dumpStdErr, dumpThis, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, unmanage
 
从类 org.eclipse.jetty.util.component.AbstractLifeCycle 继承的方法
addLifeCycleListener, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
从接口 org.eclipse.jetty.util.component.LifeCycle 继承的方法
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
 
从接口 org.eclipse.jetty.util.component.Dumpable 继承的方法
dump
 

构造方法详细信息

Ajp13SocketConnector

public Ajp13SocketConnector()
方法详细信息

doStart

protected void doStart()
                throws Exception
从类 AggregateLifeCycle 复制的描述
Start the managed lifecycle beans in the order they were added.

覆盖:
SocketConnector 中的 doStart
抛出:
Exception
另请参见:
AbstractLifeCycle.doStart()

customize

public void customize(EndPoint endpoint,
                      Request request)
               throws IOException
从接口 Connector 复制的描述
Customize a request for an endpoint. Called on every request to allow customization of the request for the particular endpoint (eg security properties from a SSL connection).

指定者:
接口 Connector 中的 customize
覆盖:
SocketConnector 中的 customize
抛出:
IOException

newConnection

protected Connection newConnection(EndPoint endpoint)
从类 SocketConnector 复制的描述
Allows subclass to override Conection if required.

覆盖:
SocketConnector 中的 newConnection

isConfidential

public boolean isConfidential(Request request)
指定者:
接口 Connector 中的 isConfidential
覆盖:
AbstractConnector 中的 isConfidential
参数:
request - A request
返回:
true if the request is confidential. This normally means the https schema has been used.

isIntegral

public boolean isIntegral(Request request)
指定者:
接口 Connector 中的 isIntegral
覆盖:
AbstractConnector 中的 isIntegral
参数:
request - A request
返回:
true if the request is integral. This normally means the https schema has been used.

setHeaderBufferSize

@Deprecated
public void setHeaderBufferSize(int headerBufferSize)
已过时。 


setRequestBufferSize

public void setRequestBufferSize(int requestBufferSize)
从接口 Connector 复制的描述
Set the size of the content buffer for receiving requests. These buffers are only used for active connections that have requests with bodies that will not fit within the header buffer.

指定者:
接口 HttpBuffers 中的 setRequestBufferSize
指定者:
接口 Connector 中的 setRequestBufferSize
覆盖:
AbstractConnector 中的 setRequestBufferSize
参数:
requestBufferSize - the requestBufferSize to set

setResponseBufferSize

public void setResponseBufferSize(int responseBufferSize)
从接口 Connector 复制的描述
Set the size of the content buffer for sending responses. These buffers are only used for active connections that are sending responses with bodies that will not fit within the header buffer.

指定者:
接口 HttpBuffers 中的 setResponseBufferSize
指定者:
接口 Connector 中的 setResponseBufferSize
覆盖:
AbstractConnector 中的 setResponseBufferSize
参数:
responseBufferSize - the responseBufferSize to set

setAllowShutdown

public void setAllowShutdown(boolean allowShutdown)

setSecretWord

public void setSecretWord(String secretWord)


Copyright © 2013. All Rights Reserved.