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 TlsConfiguration |
tlsConfiguration |
| 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 |
setTlsConfiguration(TlsConfiguration tlsConfiguration) |
private boolean needClientAuth
private Integer socketTimeout
private Boolean reuseAddress
private Integer receiveBufferSize
private TlsConfiguration tlsConfiguration
public SSLContext createSSLContext() throws TlsException
TlsExceptionpublic void setTlsConfiguration(TlsConfiguration tlsConfiguration)
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 © 2023 Apache NiFi Project. All rights reserved.