Package org.apache.cxf.message
Interface Exchange
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclear()BindinggetBinding()BindingOperationInfogetBindingOperationInfo()BusgetBus()ConduitgetConduit(Message message)DestinationgetDestination()EndpointgetEndpoint()MessagegetInFaultMessage()MessagegetInMessage()Returns the inbound message for the exchange.MessagegetOutFaultMessage()MessagegetOutMessage()Returns the outbound message for the exchange.ServicegetService()SessiongetSession()booleanisOneWay()Determines if the exchange is one-way.booleanisSynchronous()Determines if the exchange requires the frontend to wait for a response.voidsetConduit(Conduit conduit)voidsetDestination(Destination destination)voidsetInFaultMessage(Message m)voidsetInMessage(Message m)voidsetOneWay(boolean b)voidsetOutFaultMessage(Message m)voidsetOutMessage(Message m)voidsetSynchronous(boolean b)- 
Methods inherited from interface java.util.Mapcompute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
 
- 
 
- 
- 
- 
Method Detail- 
getInMessageMessage getInMessage() Returns the inbound message for the exchange. On the client-side, this is the response. On the server-side, this is the request.- Returns:
- the inbound message
 
 - 
setInMessagevoid setInMessage(Message m) 
 - 
getOutMessageMessage getOutMessage() Returns 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.- Returns:
- the outbound message
 
 - 
setOutMessagevoid setOutMessage(Message m) 
 - 
getInFaultMessageMessage getInFaultMessage() 
 - 
setInFaultMessagevoid setInFaultMessage(Message m) 
 - 
getOutFaultMessageMessage getOutFaultMessage() 
 - 
setOutFaultMessagevoid setOutFaultMessage(Message m) 
 - 
getSessionSession getSession() 
 - 
getDestinationDestination getDestination() - Returns:
- the associated incoming Destination (may be anonymous)
 
 - 
setDestinationvoid setDestination(Destination destination) - Parameters:
- destination- the associated incoming Destination
 
 - 
getConduitConduit getConduit(Message message) - Parameters:
- message- the associated message
- Returns:
- the associated outgoing Conduit (may be anonymous)
 
 - 
setConduitvoid setConduit(Conduit conduit) - Parameters:
- conduit- the associated outgoing Conduit
 
 - 
isOneWayboolean isOneWay() Determines if the exchange is one-way.- Returns:
- true if the exchange is known to be a one-way exchange
 
 - 
isSynchronousboolean isSynchronous() Determines 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.- Returns:
- true if the frontend will wait for the response
 
 - 
setSynchronousvoid setSynchronous(boolean b) 
 - 
setOneWayvoid setOneWay(boolean b) - Parameters:
- b- true if the exchange is known to be a one-way exchange
 
 - 
getBusBus getBus() 
 - 
getServiceService getService() 
 - 
getEndpointEndpoint getEndpoint() 
 - 
getBindingBinding getBinding() 
 - 
getBindingOperationInfoBindingOperationInfo getBindingOperationInfo() 
 
- 
 
-