public abstract class JsseListener extends SocketListener
ThreadPool.PoolThread| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_KEYSTORE
Deprecated.
Default value for the keystore location path.
|
static String |
DEFAULT_KEYSTORE_PROVIDER_CLASS
Deprecated.
Default value for keystore provider class.
|
static String |
DEFAULT_KEYSTORE_PROVIDER_NAME
Deprecated.
Default value for keystore provider name.
|
static String |
DEFAULT_KEYSTORE_TYPE
Deprecated.
Default keystore type
|
static String |
KEYPASSWORD_PROPERTY
Deprecated.
String name of key password property.
|
static String |
KEYSTORE_PROPERTY
Deprecated.
String name of keystore location path property.
|
static String |
KEYSTORE_PROVIDER_CLASS_PROPERTY
Deprecated.
String name of keystore provider class property
|
static String |
KEYSTORE_PROVIDER_NAME_PROPERTY
Deprecated.
String name of keystore provider name property
|
static String |
KEYSTORE_TYPE_PROPERTY
Deprecated.
String name of keystore type property
|
static String |
PASSWORD_PROPERTY
Deprecated.
String name of keystore password property.
|
__DAEMON, __PRIORITYATTRIBUTE| Constructor and Description |
|---|
JsseListener()
Deprecated.
Constructor.
|
JsseListener(InetAddrPort p_address)
Deprecated.
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected Socket |
accept(ServerSocket p_serverSocket)
Deprecated.
|
protected abstract SSLServerSocketFactory |
createFactory()
Deprecated.
|
protected void |
customizeRequest(Socket socket,
HttpRequest request)
Deprecated.
Allow the Listener a chance to customise the request.
|
boolean |
getNeedClientAuth()
Deprecated.
|
boolean |
isConfidential(HttpConnection connection)
Deprecated.
By default, we're confidential, given we speak SSL.
|
boolean |
isIntegral(HttpConnection connection)
Deprecated.
By default, we're integral, given we speak SSL.
|
protected ServerSocket |
newServerSocket(InetAddrPort p_address,
int p_acceptQueueSize)
Deprecated.
New server socket.
|
void |
setNeedClientAuth(boolean needClientAuth)
Deprecated.
Set the value of the needClientAuth property
|
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, stopacceptSocket, 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 static final String KEYSTORE_PROPERTY
public static final String KEYSTORE_TYPE_PROPERTY
public static final String DEFAULT_KEYSTORE_TYPE
public static final String KEYSTORE_PROVIDER_NAME_PROPERTY
public static final String KEYSTORE_PROVIDER_CLASS_PROPERTY
public static final String DEFAULT_KEYSTORE_PROVIDER_CLASS
public static final String DEFAULT_KEYSTORE
public static final String DEFAULT_KEYSTORE_PROVIDER_NAME
public static final String PASSWORD_PROPERTY
public static final String KEYPASSWORD_PROPERTY
public JsseListener()
public JsseListener(InetAddrPort p_address)
p_address - public void setNeedClientAuth(boolean needClientAuth)
needClientAuth - true iff we require client certificate authentication.public boolean getNeedClientAuth()
public boolean isIntegral(HttpConnection connection)
isIntegral in interface HttpListenerisIntegral in class SocketListenerconnection - The connection to test.public boolean isConfidential(HttpConnection connection)
isConfidential in interface HttpListenerisConfidential in class SocketListenerconnection - The connection to test.protected abstract SSLServerSocketFactory createFactory() throws Exception
Exceptionprotected ServerSocket newServerSocket(InetAddrPort p_address, int p_acceptQueueSize) throws IOException
ThreadedServernewServerSocket in class ThreadedServerp_address - p_acceptQueueSize - IOExceptionprotected Socket accept(ServerSocket p_serverSocket) throws IOException
p_serverSocket - IOExceptionprotected void customizeRequest(Socket socket, HttpRequest request)
customizeRequest in class SocketListenersocket - The Socket the request arrived on. This should be a javax.net.ssl.SSLSocket.request - HttpRequest to be customised.Copyright © 2016. All Rights Reserved.