|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OutgoingSOAPRequestActivity
An outgoing request activity, created when an application sends a SOAP request. The application must attach to the activity in order to receive the response. The activity may optionally end when the response arrives, depending on how this activity was created.
Method Summary | |
---|---|
void |
endActivity()
Explicitly end the activity. |
boolean |
endOnResponse()
Test if the activity is set to end when a response is received. |
SOAPResponse |
getResponse()
Get the response received on this activity. |
Methods inherited from interface com.opencloud.slee.resources.soap.SOAPActivity |
---|
getRequest |
Method Detail |
---|
SOAPResponse getResponse()
null
if a response has not
been received yet.boolean endOnResponse()
true
if the activity will automatically end
when a response is received.void endActivity()
endOnResponse()
is false
. The application must call this to end the activity if
it has requested the activity to remain alive after the response is received,
using SOAPProvider.sendRequest(java.net.URL,javax.xml.soap.SOAPMessage,boolean)
.
java.lang.IllegalStateException
- if no response has been received, or if the activity is
set to end automatically anyway.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |