|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.impl.ExchangeSupport<M,R,F>
public abstract class ExchangeSupport<M,R,F>
A base class useful for implementing other typesafe exchanges
Constructor Summary | |
---|---|
ExchangeSupport()
|
Method Summary | |
---|---|
Exception |
getException()
Returns the exception associated with this exchange |
F |
getFault()
Returns the fault message |
M |
getRequest()
Returns the request message |
R |
getResponse()
Returns the response message |
void |
setException(Exception exception)
Sets the exception associated with this exchange |
void |
setFault(F fault)
|
void |
setRequest(M request)
|
void |
setResponse(R response)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.camel.Exchange |
---|
getHeader, getHeaders, setHeader |
Constructor Detail |
---|
public ExchangeSupport()
Method Detail |
---|
public Exception getException()
Exchange
getException
in interface Exchange<M,R,F>
public void setException(Exception exception)
Exchange
setException
in interface Exchange<M,R,F>
public F getFault()
Exchange
getFault
in interface Exchange<M,R,F>
public void setFault(F fault)
public M getRequest()
Exchange
getRequest
in interface Exchange<M,R,F>
public void setRequest(M request)
public R getResponse()
Exchange
getResponse
in interface Exchange<M,R,F>
public void setResponse(R response)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |