public static class ProxyHandler.SslRelay extends SslListener
ThreadPool.PoolThreadDEFAULT_KEYSTORE, KEYPASSWORD_PROPERTY, PASSWORD_PROPERTY__DAEMON, __PRIORITYATTRIBUTE| 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, setWantClientAuthcreateConnection, 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, startacceptSocket, acceptSocket, getAcceptorThreads, getAcceptQueueSize, getHost, getInetAddress, getInetAddrPort, getLingerTimeSecs, getMaxReadTimeMs, getPort, getServerSocket, getTcpNoDelay, handle, handleConnection, open, setAcceptorThreads, setAcceptQueueSize, setHost, setInetAddress, setInetAddrPort, setLingerTimeSecs, setMaxReadTimeMs, setPort, setTcpNoDelay, stopJob, toStringgetIdleThreads, getMaxIdleTimeMs, getMaxThreads, getMinThreads, getName, getPoolName, getThreads, getThreadsPriority, isDaemon, isStarted, join, run, setDaemon, setMaxIdleTimeMs, setMaxStopTimeMs, setMaxThreads, setMinThreads, setName, setPoolName, setThreadsPriority, shrinkclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetHost, getPort, setHost, setPortpublic void setNukeDirOrFile(File nukeDirOrFile)
protected void customizeRequest(Socket socket, HttpRequest request)
SslListenercustomizeRequest in class SslListenersocket - The Socket the request arrived on. This should be a javax.net.ssl.SSLSocket.request - HttpRequest to be customised.public void stop()
throws InterruptedException
ThreadPoolstop in interface LifeCyclestop in class SocketListenerInterruptedException - 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.