Class AbstractTcpConnectionSupport
java.lang.Object
org.springframework.integration.ip.tcp.connection.AbstractTcpConnectionSupport
- Direct Known Subclasses:
DefaultTcpNetConnectionSupport
,DefaultTcpNioConnectionSupport
,DefaultTcpNioSSLConnectionSupport
public abstract class AbstractTcpConnectionSupport extends Object
Base class for TCP Connection Support implementations.
- Since:
- 5.0
- Author:
- Gary Russell
-
Constructor Summary
Constructors Constructor Description AbstractTcpConnectionSupport()
-
Method Summary
Modifier and Type Method 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 aPushbackInputStream
, enabling deserializers to "unread" data.
-
Constructor Details
-
AbstractTcpConnectionSupport
public AbstractTcpConnectionSupport()
-
-
Method Details
-
isPushbackCapable
public boolean isPushbackCapable() -
setPushbackCapable
public void setPushbackCapable(boolean pushbackCapable)Set to true to cause wrapping of the connection's input stream in aPushbackInputStream
, enabling deserializers to "unread" data.- Parameters:
pushbackCapable
- true to enable.
-
getPushbackBufferSize
public int getPushbackBufferSize() -
setPushbackBufferSize
public void setPushbackBufferSize(int pushbackBufferSize)The size of the push back buffer; defaults to 1.- Parameters:
pushbackBufferSize
- the size.
-