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 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 a PushbackInputStream, 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.