Package org.apache.cxf.message
Class ExchangeImpl
- All Implemented Interfaces:
- Serializable,- ConcurrentMap<String,,- Object> - Map<String,,- Object> - Exchange,- StringMap
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class java.util.concurrent.ConcurrentHashMapConcurrentHashMap.KeySetView<K extends Object,V extends Object> Nested classes/interfaces inherited from class java.util.AbstractMapAbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> 
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidclear()<T> TConvenience method for storing/retrieving typed objects from the map.getBus()getConduit(Message message) Returns the inbound message for the exchange.Returns the outbound message for the exchange.booleanisOneWay()Determines if the exchange is one-way.booleanDetermines if the exchange requires the frontend to wait for a response.<T> voidConvenience method for storing/retrieving typed objects from the map.void<T> TConvenience method for removing typed objects from the map.voidvoidvoidvoidvoidsetOneWay(boolean b) voidvoidvoidsetSession(Session session) voidsetSynchronous(boolean b) Methods inherited from class java.util.concurrent.ConcurrentHashMapcompute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, get, getOrDefault, hashCode, isEmpty, keys, keySet, keySet, mappingCount, merge, newKeySet, newKeySet, putIfAbsent, reduce, reduceEntries, reduceEntries, reduceEntriesToDouble, reduceEntriesToInt, reduceEntriesToLong, reduceKeys, reduceKeys, reduceKeysToDouble, reduceKeysToInt, reduceKeysToLong, reduceToDouble, reduceToInt, reduceToLong, reduceValues, reduceValues, reduceValuesToDouble, reduceValuesToInt, reduceValuesToLong, remove, remove, replace, replace, replaceAll, search, searchEntries, searchKeys, searchValues, size, toString, valuesMethods inherited from class java.util.AbstractMapclone
- 
Constructor Details- 
ExchangeImplpublic ExchangeImpl()
- 
ExchangeImpl
 
- 
- 
Method Details- 
getDescription copied from interface:StringMapConvenience method for storing/retrieving typed objects from the map. equivalent to: (T)get(key.getName());
- 
putAll
- 
putDescription copied from interface:StringMapConvenience method for storing/retrieving typed objects from the map. equivalent to: put(key.getName(), value);
- 
put
- 
removeDescription copied from interface:StringMapConvenience method for removing typed objects from the map. equivalent to: (T)remove(key.getName());
- 
getDestination- Specified by:
- getDestinationin interface- Exchange
- Returns:
- the associated incoming Destination (may be anonymous)
 
- 
getInMessageDescription copied from interface:ExchangeReturns the inbound message for the exchange. On the client-side, this is the response. On the server-side, this is the request.- Specified by:
- getInMessagein interface- Exchange
- Returns:
- the inbound message
 
- 
getConduit- Specified by:
- getConduitin interface- Exchange
- Parameters:
- message- the associated message
- Returns:
- the associated outgoing Conduit (may be anonymous)
 
- 
getOutMessageDescription copied from interface:ExchangeReturns the outbound message for the exchange. On the client-side, this is the request. On the server-side, this is the response. During the inbound message processing, the outbound message is null.- Specified by:
- getOutMessagein interface- Exchange
- Returns:
- the outbound message
 
- 
getInFaultMessage- Specified by:
- getInFaultMessagein interface- Exchange
 
- 
setInFaultMessage- Specified by:
- setInFaultMessagein interface- Exchange
 
- 
getOutFaultMessage- Specified by:
- getOutFaultMessagein interface- Exchange
 
- 
setOutFaultMessage- Specified by:
- setOutFaultMessagein interface- Exchange
 
- 
setDestination- Specified by:
- setDestinationin interface- Exchange
- Parameters:
- d- the associated incoming Destination
 
- 
setInMessage- Specified by:
- setInMessagein interface- Exchange
 
- 
setConduit- Specified by:
- setConduitin interface- Exchange
- Parameters:
- c- the associated outgoing Conduit
 
- 
setOutMessage- Specified by:
- setOutMessagein interface- Exchange
 
- 
isOneWaypublic boolean isOneWay()Description copied from interface:ExchangeDetermines if the exchange is one-way.
- 
setOneWaypublic void setOneWay(boolean b) 
- 
isSynchronouspublic boolean isSynchronous()Description copied from interface:ExchangeDetermines if the exchange requires the frontend to wait for a response. Transports can then optimize themselves to process the response immediately instead of using a background thread or similar.- Specified by:
- isSynchronousin interface- Exchange
- Returns:
- true if the frontend will wait for the response
 
- 
setSynchronouspublic void setSynchronous(boolean b) - Specified by:
- setSynchronousin interface- Exchange
 
- 
getSession- Specified by:
- getSessionin interface- Exchange
 
- 
setSession
- 
clearpublic void clear()Description copied from interface:Exchange
- 
getBus
- 
getEndpoint- Specified by:
- getEndpointin interface- Exchange
 
- 
getService- Specified by:
- getServicein interface- Exchange
 
- 
getBinding- Specified by:
- getBindingin interface- Exchange
 
- 
getBindingOperationInfo- Specified by:
- getBindingOperationInfoin interface- Exchange
 
 
-