Class AbstractTcpConnectionSupport
java.lang.Object
org.springframework.integration.ip.tcp.connection.AbstractTcpConnectionSupport
- Direct Known Subclasses:
DefaultTcpNetConnectionSupport,DefaultTcpNioConnectionSupport,DefaultTcpNioSSLConnectionSupport
Base class for TCP Connection Support implementations.
- Since:
- 5.0
- Author:
- Gary Russell
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanvoidsetPushbackBufferSize(int pushbackBufferSize) The size of the push back buffer; defaults to 1.voidsetPushbackCapable(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.
-