|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface which is representing a simple PO Mailbox Service.
The PO Mailbox aims to stock informations from the original client message and keep response from WS.
To identify message, use a logical path as key. This is used like path in the forwarded message in the WS-Addressing element Reply To .
| Method Summary | |
java.net.URI |
getReplyToOf(java.lang.String logicalPath)
Get the WS-Addressing element Reply To from the original client message. |
boolean |
isWaitingResponse(java.lang.String path)
Test if the path is a logical path and is waiting response
from a WS. |
void |
putForWaitingResponse(java.lang.String logicalPath,
java.net.URI replyTo)
Put the java.net.URI of the WS-Addressing element Reply
To from the original message from the client. |
void |
putResponse(java.lang.String logicalPath,
XmlElement el)
Put response from WS in the PO Mail Box Service to keep it. |
| Method Detail |
public void putForWaitingResponse(java.lang.String logicalPath,
java.net.URI replyTo)
java.net.URI of the WS-Addressing element Reply
To from the original message from the client.
logicalPath - the key of the forwarded message.replyTo - WS-Addressing element Reply To from the client
message.public boolean isWaitingResponse(java.lang.String path)
path is a logical path and is waiting response
from a WS.
path - the path.
true if is waiting response from WS, else
false.
public void putResponse(java.lang.String logicalPath,
XmlElement el)
logicalPath - the key of the forwarded message.el - the message to keep.public java.net.URI getReplyToOf(java.lang.String logicalPath)
logicalPath - the key of the message.
URI from client message element Reply To
.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||