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, toString
protected KeyManager[] keyManagers
protected SSLContext sslContext
public SslTransportServer(URI location) throws Exception
Exception
public static SslTransportServer createTransportServer(URI uri) throws Exception
Exception
public void setKeyManagers(KeyManager[] keyManagers)
public void setTrustManagers(TrustManager[] trustManagers)
public void start(Task onCompleted) throws Exception
TransportServer
start
in interface TransportServer
start
in class TcpTransportServer
onCompleted
- my be set to null if not interested in a callback.Exception
protected TcpTransport createTransport()
createTransport
in class TcpTransportServer
public SslTransportServer protocol(String value) throws NoSuchAlgorithmException
NoSuchAlgorithmException
public 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–2017 FuseSource, Corp.. All rights reserved.