|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Acme.Serve.SSLAcceptor
public class SSLAcceptor
Field Summary | |
---|---|
static java.lang.String |
ARG_ALGORITHM
|
static java.lang.String |
ARG_BACKLOG
|
static java.lang.String |
ARG_CLIENTAUTH
|
static java.lang.String |
ARG_IFADDRESS
|
static java.lang.String |
ARG_KEYPASS
|
static java.lang.String |
ARG_KEYSTOREFILE
|
static java.lang.String |
ARG_KEYSTOREPASS
|
static java.lang.String |
ARG_KEYSTORETYPE
|
static java.lang.String |
ARG_PORT
|
static java.lang.String |
ARG_PROTOCOL
|
static int |
BACKLOG
default backlog |
protected java.lang.String |
keystoreFile
Pathname to the key store file to be used. |
static java.lang.String |
KEYSTORETYPE
Storage type of the key store file to be used. |
static int |
PORT
default SSL port |
static java.lang.String |
protocol
SSL protocol variant to use. |
static java.lang.String |
PROTOCOL_HANDLER
|
static java.lang.String |
PROTOCOL_PACKAGES
The name of the system property containing a "|" delimited list of protocol handler packages. |
protected java.net.ServerSocket |
socket
|
static java.lang.String |
SUNX509
Certificate encoding algorithm to be used. |
static java.lang.String |
TLS
SSL protocol variant to use. |
Constructor Summary | |
---|---|
SSLAcceptor()
|
Method Summary | |
---|---|
java.net.Socket |
accept()
|
void |
destroy()
|
void |
init(java.util.Map inProperties,
java.util.Map outProperties)
|
protected static void |
initHandler()
Register our URLStreamHandler for the "https:" protocol. |
protected void |
initServerSocket(java.net.ServerSocket ssocket,
boolean clientAuth)
Set the requested properties for this server socket. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ARG_ALGORITHM
public static final java.lang.String ARG_CLIENTAUTH
public static final java.lang.String ARG_KEYSTOREFILE
public static final java.lang.String ARG_KEYSTOREPASS
public static final java.lang.String ARG_KEYSTORETYPE
public static final java.lang.String ARG_KEYPASS
public static final java.lang.String ARG_PROTOCOL
public static final java.lang.String ARG_BACKLOG
public static final java.lang.String ARG_IFADDRESS
public static final java.lang.String ARG_PORT
public static final java.lang.String PROTOCOL_HANDLER
public static final java.lang.String PROTOCOL_PACKAGES
public static final java.lang.String SUNX509
public static final int PORT
public static final int BACKLOG
public static final java.lang.String KEYSTORETYPE
public static final java.lang.String TLS
public static final java.lang.String protocol
protected java.lang.String keystoreFile
protected java.net.ServerSocket socket
Constructor Detail |
---|
public SSLAcceptor()
Method Detail |
---|
public java.net.Socket accept() throws java.io.IOException
accept
in interface Serve.Acceptor
java.io.IOException
public void destroy() throws java.io.IOException
destroy
in interface Serve.Acceptor
java.io.IOException
public void init(java.util.Map inProperties, java.util.Map outProperties) throws java.io.IOException
init
in interface Serve.Acceptor
java.io.IOException
protected static void initHandler()
public java.lang.String toString()
toString
in class java.lang.Object
protected void initServerSocket(java.net.ServerSocket ssocket, boolean clientAuth)
ssocket
- The server socket to be configured
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |