public static class ConnectionConfig.Builder extends Object
Modifier and Type | Method and Description |
---|---|
ConnectionConfig |
build() |
ConnectionConfig.Builder |
setBufferSize(int bufferSize) |
ConnectionConfig.Builder |
setCharset(Charset charset) |
ConnectionConfig.Builder |
setFragmentSizeHint(int fragmentSizeHint) |
ConnectionConfig.Builder |
setMalformedInputAction(CodingErrorAction malformedInputAction) |
ConnectionConfig.Builder |
setMessageConstraints(MessageConstraints messageConstraints) |
ConnectionConfig.Builder |
setUnmappableInputAction(CodingErrorAction unmappableInputAction) |
public ConnectionConfig.Builder setBufferSize(int bufferSize)
public ConnectionConfig.Builder setFragmentSizeHint(int fragmentSizeHint)
public ConnectionConfig.Builder setCharset(Charset charset)
public ConnectionConfig.Builder setMalformedInputAction(CodingErrorAction malformedInputAction)
public ConnectionConfig.Builder setUnmappableInputAction(CodingErrorAction unmappableInputAction)
public ConnectionConfig.Builder setMessageConstraints(MessageConstraints messageConstraints)
public ConnectionConfig build()
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.