Modifier and Type | Class and Description |
---|---|
static class |
ConnectionConfig.Builder |
Modifier and Type | Field and Description |
---|---|
private int |
bufferSize |
private Charset |
charset |
static ConnectionConfig |
DEFAULT |
private int |
fragmentSizeHint |
private CodingErrorAction |
malformedInputAction |
private MessageConstraints |
messageConstraints |
private CodingErrorAction |
unmappableInputAction |
Constructor and Description |
---|
ConnectionConfig(int bufferSize,
int fragmentSizeHint,
Charset charset,
CodingErrorAction malformedInputAction,
CodingErrorAction unmappableInputAction,
MessageConstraints messageConstraints) |
Modifier and Type | Method and Description |
---|---|
protected ConnectionConfig |
clone() |
static ConnectionConfig.Builder |
copy(ConnectionConfig config) |
static ConnectionConfig.Builder |
custom() |
int |
getBufferSize() |
Charset |
getCharset() |
int |
getFragmentSizeHint() |
CodingErrorAction |
getMalformedInputAction() |
MessageConstraints |
getMessageConstraints() |
CodingErrorAction |
getUnmappableInputAction() |
String |
toString() |
public static final ConnectionConfig DEFAULT
private final int bufferSize
private final int fragmentSizeHint
private final CodingErrorAction malformedInputAction
private final CodingErrorAction unmappableInputAction
private final MessageConstraints messageConstraints
ConnectionConfig(int bufferSize, int fragmentSizeHint, Charset charset, CodingErrorAction malformedInputAction, CodingErrorAction unmappableInputAction, MessageConstraints messageConstraints)
public int getBufferSize()
public int getFragmentSizeHint()
public Charset getCharset()
public CodingErrorAction getMalformedInputAction()
public CodingErrorAction getUnmappableInputAction()
public MessageConstraints getMessageConstraints()
protected ConnectionConfig clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public static ConnectionConfig.Builder custom()
public static ConnectionConfig.Builder copy(ConnectionConfig config)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses