public class Http11Nio2Protocol extends AbstractHttp11JsseProtocol<Nio2Channel>
Modifier and Type | Class and Description |
---|---|
protected static class |
Http11Nio2Protocol.Http11ConnectionHandler |
AbstractProtocol.AbstractConnectionHandler<S,P extends Processor<S>>, AbstractProtocol.RecycledProcessors<P extends Processor<S>,S>
sslImplementation
npnHandler
adapter, clientCertProvider, domain, endpoint, mserver, oname, processorCache, rgOname, sm, tpOname
Constructor and Description |
---|
Http11Nio2Protocol() |
Modifier and Type | Method and Description |
---|---|
int |
getAcceptorThreadPriority() |
Nio2Endpoint |
getEndpoint() |
protected AbstractEndpoint.Handler |
getHandler()
Obtain the handler associated with the underlying Endpoint
|
protected Log |
getLog()
Concrete implementations need to provide access to their logger to be
used by the abstract classes.
|
protected String |
getNamePrefix()
Obtain the prefix to be used when construction a name for this protocol
handler.
|
int |
getPollerThreadPriority() |
boolean |
getUseSendfile() |
void |
setAcceptorThreadPriority(int threadPriority) |
void |
setOomParachute(int oomParachute) |
void |
setPollerThreadPriority(int threadPriority) |
void |
setUseSendfile(boolean useSendfile) |
void |
start()
Start the protocol.
|
getAlgorithm, getAllowUnsafeLegacyRenegotiation, getCiphers, getCiphersUsed, getClientAuth, getCrlFile, getKeyAlias, getKeyPass, getKeystoreFile, getKeystorePass, getKeystoreProvider, getKeystoreType, getSessionCacheSize, getSessionTimeout, getSslImplementationName, getSslProtocol, getTrustMaxCertLength, getTruststoreAlgorithm, getTruststoreFile, getTruststorePass, getTruststoreProvider, getTruststoreType, init, setAlgorithm, setAllowUnsafeLegacyRenegotiation, setCiphers, setClientAuth, setCrlFile, setKeyAlias, setKeyPass, setKeystoreFile, setKeystorePass, setKeystoreProvider, setKeystoreType, setSessionCacheSize, setSessionTimeout, setSslImplementationName, setSslProtocol, setTrustMaxCertLength, setTruststoreAlgorithm, setTruststoreFile, setTruststorePass, setTruststoreProvider, setTruststoreType
configureProcessor, getCompressableMimeType, getCompressableMimeTypes, getCompression, getCompressionMinSize, getConnectionUploadTimeout, getDisableUploadTimeout, getMaxExtensionSize, getMaxHttpHeaderSize, getMaxKeepAliveRequests, getMaxSavePostSize, getMaxSwallowSize, getMaxTrailerSize, getNoCompressionUserAgents, getProtocolName, getRestrictedUserAgents, getSecure, getServer, getSocketBuffer, getUpgradeAsyncWriteBufferSize, isSSLEnabled, setCompressableMimeType, setCompressableMimeTypes, setCompression, setCompressionMinSize, setConnectionUploadTimeout, setDisableUploadTimeout, setMaxExtensionSize, setMaxHttpHeaderSize, setMaxKeepAliveRequests, setMaxSavePostSize, setMaxSwallowSize, setMaxTrailerSize, setNoCompressionUserAgents, setNpnHandler, setRestrictedUserAgents, setSecure, setServer, setSocketBuffer, setSSLEnabled, setUpgradeAsyncWriteBufferSize
destroy, getAdapter, getAddress, getBacklog, getClientCertProvider, getConnectionCount, getConnectionTimeout, getDomain, getExecutor, getKeepAliveTimeout, getLocalPort, getMaxConnections, getMaxHeaderCount, getMaxThreads, getMinSpareThreads, getName, getNameIndex, getObjectName, getPort, getProcessorCache, getProperty, getSoLinger, getSoTimeout, getTcpNoDelay, getThreadPriority, isAprRequired, isCometSupported, isCometTimeoutSupported, isSendfileSupported, pause, postDeregister, postRegister, preDeregister, preRegister, resume, setAdapter, setAddress, setBacklog, setClientCertProvider, setConnectionTimeout, setExecutor, setKeepAliveTimeout, setMaxConnections, setMaxHeaderCount, setMaxThreads, setMinSpareThreads, setPort, setProcessorCache, setProperty, setSoLinger, setSoTimeout, setTcpNoDelay, setThreadPriority, stop
protected Log getLog()
AbstractProtocol
getLog
in class AbstractProtocol<Nio2Channel>
protected AbstractEndpoint.Handler getHandler()
AbstractProtocol
getHandler
in class AbstractProtocol<Nio2Channel>
public Nio2Endpoint getEndpoint()
public void start() throws Exception
ProtocolHandler
start
in interface ProtocolHandler
start
in class AbstractProtocol<Nio2Channel>
Exception
public void setAcceptorThreadPriority(int threadPriority)
public void setPollerThreadPriority(int threadPriority)
public int getAcceptorThreadPriority()
public int getPollerThreadPriority()
public boolean getUseSendfile()
public void setUseSendfile(boolean useSendfile)
public void setOomParachute(int oomParachute)
protected String getNamePrefix()
AbstractProtocol
getNamePrefix
in class AbstractProtocol<Nio2Channel>
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.