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 SummaryConstructors
- 
Method SummaryModifier 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- 
AbstractTcpConnectionSupportpublic AbstractTcpConnectionSupport()
 
- 
- 
Method Details- 
isPushbackCapablepublic boolean isPushbackCapable()
- 
setPushbackCapablepublic 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.
 
- 
getPushbackBufferSizepublic int getPushbackBufferSize()
- 
setPushbackBufferSizepublic void setPushbackBufferSize(int pushbackBufferSize) The size of the push back buffer; defaults to 1.- Parameters:
- pushbackBufferSize- the size.
 
 
-