public abstract class AbstractTcpConnectionSupport extends Object
Constructor and Description |
---|
AbstractTcpConnectionSupport() |
Modifier and Type | Method and Description |
---|---|
int |
getPushbackBufferSize() |
boolean |
isPushbackCapable() |
void |
setPushbackBufferSize(int pushbackBufferSize)
The size of the push back buffer; defaults to 1.
|
void |
setPushbackCapable(boolean pushbackCapable)
Set to true to cause wrapping of the connection's input stream in a
PushbackInputStream , enabling deserializers to "unread" data. |
public boolean isPushbackCapable()
public void setPushbackCapable(boolean pushbackCapable)
PushbackInputStream
, enabling deserializers to "unread" data.pushbackCapable
- true to enable.public int getPushbackBufferSize()
public void setPushbackBufferSize(int pushbackBufferSize)
pushbackBufferSize
- the size.