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 StringACK_ADDRESSThe remote ip address to which UDP application-level acks will be sent.static StringACK_IDA correlation id for UDP application-level acks.static StringACTUAL_CONNECTION_IDFor information only - when using a cached or failover client connection factory, contains the actual underlying connection id.static 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 StringHOSTNAMEThe host name from which a TCP message or UDP packet was received.static StringIP_ADDRESSThe ip address from which a TCP message or UDP packet was received.static StringIP_PREFIXThe "ip_" prefix for UDP and TCP headers.static StringLOCAL_ADDRESSThe local address (InetAddress) that the socket is connected to.static StringPACKET_ADDRESSThe remote address for a UDP packet.static StringPORTThe remote port for a UDP packet.static StringREMOTE_PORTThe remote port from which a TCP message was received. -
Method Summary
-
Field Details
-
IP_PREFIX
The "ip_" prefix for UDP and TCP headers.- See Also:
- Constant Field Values
-
HOSTNAME
The 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
The ip address from which a TCP message or UDP packet was received.- See Also:
- Constant Field Values
-
PORT
The remote port for a UDP packet.- See Also:
- Constant Field Values
-
PACKET_ADDRESS
The remote address for a UDP packet.- See Also:
- Constant Field Values
-
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
A correlation id for UDP application-level acks. The framework includes acknowledgment information in the data packet.- See Also:
- Constant Field Values
-
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
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
The local address (InetAddress) that the socket is connected to.- Since:
- 4.2.5.
- See Also:
- Constant Field Values
-
REMOTE_PORT
The remote port from which a TCP message was received.- See Also:
- Constant Field Values
-