public class SslTransportServer extends TcpTransportServer
| Modifier and Type | Field and Description |
|---|---|
protected KeyManager[] |
keyManagers |
protected String |
protocol |
protected SSLContext |
sslContext |
acceptSource, backlog, bindAddress, bindScheme, blockingExecutor, channel, dispatchQueue, listener, receiveBufferSize, sendBufferSize| Constructor and Description |
|---|
SslTransportServer(URI location) |
| Modifier and Type | Method and Description |
|---|---|
protected TcpTransport |
createTransport() |
static SslTransportServer |
createTransportServer(URI uri) |
String |
getClientAuth() |
String |
getDisabledCypherSuites() |
SSLContext |
getSSLContext() |
SslTransportServer |
protocol(String value) |
void |
setClientAuth(String clientAuth) |
void |
setDisabledCypherSuites(String disabledCypherSuites) |
void |
setKeyManagers(KeyManager[] keyManagers) |
void |
setSSLContext(SSLContext sslContext) |
void |
setTrustManagers(TrustManager[] trustManagers) |
void |
start(Task onCompleted)
Starts the service.
|
getBacklog, getBlockingExecutor, getBoundAddress, getDispatchQueue, getReceiveBufferSize, getSendBufferSize, getSocketAddress, handleSocket, resume, setBacklog, setBlockingExecutor, setDispatchQueue, setReceiveBufferSize, setSendBufferSize, setTransportServerListener, start, stop, stop, suspend, toStringprotected KeyManager[] keyManagers
protected SSLContext sslContext
public SslTransportServer(URI location) throws Exception
Exceptionpublic static SslTransportServer createTransportServer(URI uri) throws Exception
Exceptionpublic void setKeyManagers(KeyManager[] keyManagers)
public void setTrustManagers(TrustManager[] trustManagers)
public void start(Task onCompleted) throws Exception
TransportServerstart in interface TransportServerstart in class TcpTransportServeronCompleted - my be set to null if not interested in a callback.Exceptionprotected TcpTransport createTransport()
createTransport in class TcpTransportServerpublic SslTransportServer protocol(String value) throws NoSuchAlgorithmException
NoSuchAlgorithmExceptionpublic SSLContext getSSLContext()
public void setSSLContext(SSLContext sslContext)
public String getClientAuth()
public void setClientAuth(String clientAuth)
public String getDisabledCypherSuites()
public void setDisabledCypherSuites(String disabledCypherSuites)
Copyright © 2010-2013 FuseSource, Corp.. All Rights Reserved.