org.apache.cxf.message
Interface Exchange
- All Superinterfaces:
- java.util.Map<java.lang.String,java.lang.Object>, StringMap
- All Known Implementing Classes:
- ExchangeImpl
public interface Exchange
- extends StringMap
Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry<K,V> |
Methods inherited from interface java.util.Map |
containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
getInMessage
Message getInMessage()
setInMessage
void setInMessage(Message m)
getOutMessage
Message getOutMessage()
setOutMessage
void setOutMessage(Message m)
getInFaultMessage
Message getInFaultMessage()
setInFaultMessage
void setInFaultMessage(Message m)
getOutFaultMessage
Message getOutFaultMessage()
setOutFaultMessage
void setOutFaultMessage(Message m)
getSession
Session getSession()
getDestination
Destination getDestination()
- Returns:
- the associated incoming Destination (may be anonymous)
setDestination
void setDestination(Destination destination)
- Parameters:
destination
- the associated incoming Destination
getConduit
Conduit getConduit(Message message)
- Parameters:
message
- the associated message
- Returns:
- the associated outgoing Conduit (may be anonymous)
setConduit
void setConduit(Conduit conduit)
- Parameters:
conduit
- the associated outgoing Conduit
isOneWay
boolean isOneWay()
- Returns:
- true if the exchange is known to be a one-way exchange
isSynchronous
boolean isSynchronous()
- Returns:
- true if the frontend will be wait for the response. Transports
can then optimize themselves to process the response immediately instead
of using a background thread or similar.
setSynchronous
void setSynchronous(boolean b)
setOneWay
void setOneWay(boolean b)
- Parameters:
b
- true if the exchange is known to be a one-way exchange
clear
void clear()
- Specified by:
clear
in interface java.util.Map<java.lang.String,java.lang.Object>
Apache CXF