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.StringACK_ADDRESSThe remote ip address to which UDP application-level acks will be sent.static java.lang.StringACK_IDA correlation id for UDP application-level acks.static java.lang.StringACTUAL_CONNECTION_IDFor information only - when using a cached or failover client connection factory, contains the actual underlying connection id.static java.lang.StringCONNECTION_IDA 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.StringHOSTNAMEThe host name from which a TCP message or UDP packet was received.static java.lang.StringIP_ADDRESSThe ip address from which a TCP message or UDP packet was received.static java.lang.StringIP_PREFIXThe "ip_" prefix for UDP and TCP headers.static java.lang.StringLOCAL_ADDRESSThe local address (InetAddress) that the socket is connected to.static java.lang.StringPACKET_ADDRESSThe remote address for a UDP packet.static java.lang.StringPORTThe remote port for a UDP packet.static java.lang.StringREMOTE_PORTThe remote port from which a TCP message was received. -
Method Summary
-
Field Details
-
IP_PREFIX
public static final java.lang.String IP_PREFIXThe "ip_" prefix for UDP and TCP headers.- See Also:
- Constant Field Values
-
HOSTNAME
public static final java.lang.String HOSTNAMEThe host name from which a TCP message or UDP packet was received. IflookupHostisfalse, this will contain the ip address.- See Also:
- Constant Field Values
-
IP_ADDRESS
public static final java.lang.String IP_ADDRESSThe ip address from which a TCP message or UDP packet was received.- See Also:
- Constant Field Values
-
PORT
public static final java.lang.String PORTThe remote port for a UDP packet.- See Also:
- Constant Field Values
-
PACKET_ADDRESS
public static final java.lang.String PACKET_ADDRESSThe remote address for a UDP packet.- See Also:
- Constant Field Values
-
ACK_ADDRESS
public static final java.lang.String ACK_ADDRESSThe 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_IDA 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_IDA 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_IDFor 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_ADDRESSThe 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_PORTThe remote port from which a TCP message was received.- See Also:
- Constant Field Values
-