|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.wsinfra.wsr.impl.WsrExchangeInfoImpl
public class WsrExchangeInfoImpl
This is a utility class which encapsulates information regarding ALL possible WSR exchanges. This class can then be used at either the source/sink to determine if the exchange targetted to it is indeed the right one. The class contains simply boolean operations to determine the type of the WSR exchange or if this is in fact even a WSR exchange to begin with.
| Constructor Summary | |
|---|---|
protected |
WsrExchangeInfoImpl(AddressingHeaders addressingHeaders)
|
| Method Summary | |
|---|---|
AddressingHeaders |
getAddressingHeaders()
Retrieve the addressing headers that were associated with this exchange |
String |
getProblemsWithExchange()
If this is an invalid exchange, this method reports all the problems contained within this exchange. |
boolean |
hasPollRequest()
Checks to see if the PollRequest element is available |
boolean |
hasRequest()
Checks to see if the Request Element is available |
boolean |
hasResponse()
Checks to see if the Response Element is available |
boolean |
isProcessPollRequest()
Checks to see if this is a Process PollRequest exchange |
boolean |
isProcessRequest()
Checks to see if this is a Process Request exchange |
boolean |
isProcessResponse()
Checks to see if this is a Process Response exchange |
boolean |
isValidExchange()
Checks to see if this is a valid exchange |
protected void |
setPollRequest()
|
protected void |
setProcessPollRequest()
|
protected void |
setProcessRequest()
|
protected void |
setProcessResponse()
|
void |
setRequest()
|
protected void |
setResponse()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected WsrExchangeInfoImpl(AddressingHeaders addressingHeaders)
| Method Detail |
|---|
public boolean hasRequest()
hasRequest in interface WsrExchangeInfopublic void setRequest()
public boolean hasPollRequest()
hasPollRequest in interface WsrExchangeInfoprotected void setPollRequest()
public boolean hasResponse()
hasResponse in interface WsrExchangeInfoprotected void setResponse()
public boolean isProcessRequest()
isProcessRequest in interface WsrExchangeInfoprotected void setProcessRequest()
public boolean isProcessPollRequest()
isProcessPollRequest in interface WsrExchangeInfoprotected void setProcessPollRequest()
public boolean isProcessResponse()
isProcessResponse in interface WsrExchangeInfoprotected void setProcessResponse()
public AddressingHeaders getAddressingHeaders()
getAddressingHeaders in interface WsrExchangeInfopublic String getProblemsWithExchange()
getProblemsWithExchange in interface WsrExchangeInfopublic boolean isValidExchange()
isValidExchange in interface WsrExchangeInfopublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||