public static class ProxyHandler.SslRelay extends SslListener
ThreadPool.PoolThread
DEFAULT_KEYSTORE, KEYPASSWORD_PROPERTY, PASSWORD_PROPERTY
__DAEMON, __PRIORITY
ATTRIBUTE
Modifier and Type | Method and Description |
---|---|
protected void |
customizeRequest(Socket socket,
HttpRequest request)
Allow the Listener a chance to customise the request.
|
void |
setNukeDirOrFile(File nukeDirOrFile) |
void |
stop()
Stop the ThreadPool.
|
accept, createFactory, getAlgorithm, getCipherSuites, getKeystore, getKeystoreType, getNeedClientAuth, getProtocol, getProvider, getWantClientAuth, isConfidential, isIntegral, newServerSocket, setAlgorithm, setCipherSuites, setKeyPassword, setKeystore, setKeystoreType, setNeedClientAuth, setPassword, setProtocol, setProvider, setWantClientAuth
createConnection, customizeRequest, getBufferReserve, getBufferSize, getConfidentialPort, getConfidentialScheme, getDefaultScheme, getHttpHandler, getHttpServer, getIdentifyListener, getIntegralPort, getIntegralScheme, getLowResourcePersistTimeMs, getLowResources, handleConnection, isLowOnResources, isOutOfResources, persistConnection, setBufferReserve, setBufferSize, setConfidentialPort, setConfidentialScheme, setDefaultScheme, setHttpHandler, setHttpServer, setIdentifyListener, setIntegralPort, setIntegralScheme, setLowResourcePersistTimeMs, setLowResources, start
acceptSocket, acceptSocket, getAcceptorThreads, getAcceptQueueSize, getHost, getInetAddress, getInetAddrPort, getLingerTimeSecs, getMaxReadTimeMs, getPort, getServerSocket, getTcpNoDelay, handle, handleConnection, open, setAcceptorThreads, setAcceptQueueSize, setHost, setInetAddress, setInetAddrPort, setLingerTimeSecs, setMaxReadTimeMs, setPort, setTcpNoDelay, stopJob, toString
getIdleThreads, getMaxIdleTimeMs, getMaxThreads, getMinThreads, getName, getPoolName, getThreads, getThreadsPriority, isDaemon, isStarted, join, run, setDaemon, setMaxIdleTimeMs, setMaxStopTimeMs, setMaxThreads, setMinThreads, setName, setPoolName, setThreadsPriority, shrink
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getHost, getPort, setHost, setPort
public void setNukeDirOrFile(File nukeDirOrFile)
protected void customizeRequest(Socket socket, HttpRequest request)
SslListener
customizeRequest
in class SslListener
socket
- The Socket the request arrived on. This should be a javax.net.ssl.SSLSocket.request
- HttpRequest to be customised.public void stop() throws InterruptedException
ThreadPool
stop
in interface LifeCycle
stop
in class SocketListener
InterruptedException
- Stopping a lifecycle is rarely atomic
and may be interrupted by another thread. If this happens
InterruptedException is throw and the component will be in an
indeterminant state and should probably be discarded.Copyright © 2013. All Rights Reserved.