Class IpHeaders

java.lang.Object
org.springframework.integration.ip.IpHeaders

public final class IpHeaders extends Object
Headers for Messages mapped from IP datagram packets.
Since:
2.0
Author:
Mark Fisher, Gary Russell, Dave Syer, Artem Bilan
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The remote ip address to which UDP application-level acks will be sent.
    static final String
    A correlation id for UDP application-level acks.
    static final String
    For information only - when using a cached or failover client connection factory, contains the actual underlying connection id.
    static final String
    A unique identifier for a TCP connection; set by the framework for inbound messages; when sending to a server-side inbound channel adapter, or replying to an inbound gateway, this header is required so the endpoint can determine which connection to send the message to.
    static final String
    The host name from which a TCP message or UDP packet was received.
    static final String
    The ip address from which a TCP message or UDP packet was received.
    static final String
    The "ip_" prefix for UDP and TCP headers.
    static final String
    The local address (InetAddress) that the socket is connected to.
    static final String
    The remote address for a UDP packet.
    static final String
    The remote port for a UDP packet.
    static final String
    The remote port from which a TCP message was received.
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • IP_PREFIX

      public static final String IP_PREFIX
      The "ip_" prefix for UDP and TCP headers.
      See Also:
    • HOSTNAME

      public static final String HOSTNAME
      The host name from which a TCP message or UDP packet was received. If lookupHost is false, this will contain the ip address.
      See Also:
    • IP_ADDRESS

      public static final String IP_ADDRESS
      The ip address from which a TCP message or UDP packet was received.
      See Also:
    • PORT

      public static final String PORT
      The remote port for a UDP packet.
      See Also:
    • PACKET_ADDRESS

      public static final String PACKET_ADDRESS
      The remote address for a UDP packet.
      See Also:
    • ACK_ADDRESS

      public static final String ACK_ADDRESS
      The remote ip address to which UDP application-level acks will be sent. The framework includes acknowledgment information in the data packet.
      See Also:
    • ACK_ID

      public static final String ACK_ID
      A correlation id for UDP application-level acks. The framework includes acknowledgment information in the data packet.
      See Also:
    • CONNECTION_ID

      public static final String CONNECTION_ID
      A unique identifier for a TCP connection; set by the framework for inbound messages; when sending to a server-side inbound channel adapter, or replying to an inbound gateway, this header is required so the endpoint can determine which connection to send the message to.
      See Also:
    • ACTUAL_CONNECTION_ID

      public static final String ACTUAL_CONNECTION_ID
      For information only - when using a cached or failover client connection factory, contains the actual underlying connection id.
      See Also:
    • LOCAL_ADDRESS

      public static final String LOCAL_ADDRESS
      The local address (InetAddress) that the socket is connected to.
      Since:
      4.2.5.
      See Also:
    • REMOTE_PORT

      public static final String REMOTE_PORT
      The remote port from which a TCP message was received.
      See Also: