org.mortbay.http
Class JsseListener
java.lang.Object
|
+--org.mortbay.util.ThreadPool
|
+--org.mortbay.util.ThreadedServer
|
+--org.mortbay.http.SocketListener
|
+--org.mortbay.http.JsseListener
- All Implemented Interfaces:
- HttpListener, LifeCycle
- Direct Known Subclasses:
- SunJsseListener
- public abstract class JsseListener
- extends SocketListener
JSSE Socket Listener.
This specialization of HttpListener is an abstract listener
that can be used as the basis for a specific JSSE listener.
This is heavily based on the work from Court Demas, which in
turn is based on the work from Forge Research.
- Version:
- $Id: JsseListener.java,v 1.1 2001/09/02 01:13:08 gregwilkins Exp $
- Author:
- Greg Wilkins (gregw@mortbay.com), Court Demas (court@kiwiconsulting.com), Forge Research Pty Ltd ACN 003 491 576
Field Summary |
static java.lang.String |
DEFAULT_KEYSTORE
Default value for the keystore location path. |
static java.lang.String |
KEYPASSWORD_PROPERTY
String name of key password property. |
static java.lang.String |
KEYSTORE_PROPERTY
String name of keystore location path property. |
static java.lang.String |
PASSWORD_PROPERTY
String name of keystore password property. |
Methods inherited from class org.mortbay.http.SocketListener |
customizeRequest, destroy, getHttpServer, getLowResourcePersistTimeMs, handleConnection, isLowOnResources, isOutOfResources, persistConnection, setHttpServer, setLowResourcePersistTimeMs, start, stop |
Methods inherited from class org.mortbay.util.ThreadedServer |
getHost, getInetAddress, getInetAddrPort, getLingerTimeSecs, getMaxReadTimeMs, getPort, getServerSocket, handle, setAddress, setHost, setInetAddress, setLingerTimeSecs, setMaxReadTimeMs, setPort, toString |
Methods inherited from class org.mortbay.util.ThreadPool |
getIdleThreads, getMaxIdleTimeMs, getMaxSize, getMaxStopTimeMs, getMaxThreads, getMinSize, getMinThreads, getName, getSize, getThreadClass, getThreads, initialize, isDestroyed, isStarted, join, run, setMaxIdleTimeMs, setMaxSize, setMaxStopTimeMs, setMaxThreads, setMinSize, setMinThreads, setName, setThreadClass |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
KEYSTORE_PROPERTY
public static final java.lang.String KEYSTORE_PROPERTY
- String name of keystore location path property.
DEFAULT_KEYSTORE
public static final java.lang.String DEFAULT_KEYSTORE
- Default value for the keystore location path. (~/.keystore)
PASSWORD_PROPERTY
public static final java.lang.String PASSWORD_PROPERTY
- String name of keystore password property.
KEYPASSWORD_PROPERTY
public static final java.lang.String KEYPASSWORD_PROPERTY
- String name of key password property.
JsseListener
public JsseListener()
throws java.io.IOException
- Constructor.
- Parameters:
p_address
- p_server
- - Throws:
java.io.IOException
-
JsseListener
public JsseListener(InetAddrPort p_address)
throws java.io.IOException
- Constructor.
- Parameters:
p_address
- p_server
- p_minThreads
- p_maxThreads
- p_maxIdleTimeMs
- - Throws:
java.io.IOException
-
setNeedClientAuth
public void setNeedClientAuth(boolean needClientAuth)
- Set the value of the needClientAuth property
- Parameters:
needClientAuth
- true iff we require client
certificate authentication.
getDefaultScheme
public java.lang.String getDefaultScheme()
- Returns "https".
- Overrides:
getDefaultScheme
in class SocketListener
Copyright © 2000 Mortbay Consulting Pty. Ltd. All Rights Reserved.