public final class ServerSocketConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
private boolean |
needClientAuth |
private Integer |
receiveBufferSize |
private Boolean |
reuseAddress |
private Integer |
socketTimeout |
private SSLContextFactory |
sslContextFactory |
| Constructor and Description |
|---|
ServerSocketConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
SSLContext |
createSSLContext() |
boolean |
getNeedClientAuth() |
Integer |
getReceiveBufferSize() |
Boolean |
getReuseAddress() |
Integer |
getSocketTimeout() |
void |
setNeedClientAuth(boolean needClientAuth) |
void |
setReceiveBufferSize(Integer receiveBufferSize) |
void |
setReuseAddress(Boolean reuseAddress) |
void |
setSocketTimeout(Integer socketTimeout) |
void |
setSSLContextFactory(SSLContextFactory sslContextFactory) |
private boolean needClientAuth
private Integer socketTimeout
private Boolean reuseAddress
private Integer receiveBufferSize
private SSLContextFactory sslContextFactory
public SSLContext createSSLContext() throws KeyManagementException, NoSuchAlgorithmException, UnrecoverableKeyException, KeyStoreException, CertificateException, FileNotFoundException, IOException
public void setSSLContextFactory(SSLContextFactory sslContextFactory)
public Integer getSocketTimeout()
public void setSocketTimeout(Integer socketTimeout)
public boolean getNeedClientAuth()
public void setNeedClientAuth(boolean needClientAuth)
public Boolean getReuseAddress()
public void setReuseAddress(Boolean reuseAddress)
public Integer getReceiveBufferSize()
public void setReceiveBufferSize(Integer receiveBufferSize)
Copyright © 2016 Apache NiFi Project. All rights reserved.