Class IpHeaders

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

public final class IpHeaders
extends java.lang.Object
Headers for Messages mapped from IP datagram packets.
Since:
2.0
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.lang.String ACK_ADDRESS
    The remote ip address to which UDP application-level acks will be sent.
    static java.lang.String ACK_ID
    A correlation id for UDP application-level acks.
    static java.lang.String ACTUAL_CONNECTION_ID
    For information only - when using a cached or failover client connection factory, contains the actual underlying connection id.
    static java.lang.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.
    static java.lang.String HOSTNAME
    The host name from which a TCP message or UDP packet was received.
    static java.lang.String IP_ADDRESS
    The ip address from which a TCP message or UDP packet was received.
    static java.lang.String IP_PREFIX
    The "ip_" prefix for UDP and TCP headers.
    static java.lang.String LOCAL_ADDRESS
    The local address (InetAddress) that the socket is connected to.
    static java.lang.String PACKET_ADDRESS
    The remote address for a UDP packet.
    static java.lang.String PORT
    The remote port for a UDP packet.
    static java.lang.String REMOTE_PORT
    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 java.lang.String IP_PREFIX
      The "ip_" prefix for UDP and TCP headers.
      See Also:
      Constant Field Values
    • HOSTNAME

      public static final java.lang.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:
      Constant Field Values
    • IP_ADDRESS

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

      public static final java.lang.String PORT
      The remote port for a UDP packet.
      See Also:
      Constant Field Values
    • PACKET_ADDRESS

      public static final java.lang.String PACKET_ADDRESS
      The remote address for a UDP packet.
      See Also:
      Constant Field Values
    • ACK_ADDRESS

      public static final java.lang.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:
      Constant Field Values
    • ACK_ID

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

      public static final java.lang.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:
      Constant Field Values
    • ACTUAL_CONNECTION_ID

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

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

      public static final java.lang.String REMOTE_PORT
      The remote port from which a TCP message was received.
      See Also:
      Constant Field Values