|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.java.client.slee.resource.http.event.ResponseEvent
public class ResponseEvent
Service sending Request asynchronously will receive net.java.client.slee.resource.http.event.ResponseEvent as soon as the Resource Adaptor receives the Response and emits ResponseEvent. ResponseEvent carries either the Response if everything went fine else Exception if there was any problem
| Constructor Summary | |
|---|---|
ResponseEvent(java.lang.Exception exception,
java.lang.Object requestApplicationData)
|
|
ResponseEvent(org.apache.http.HttpResponse httpResponse,
java.lang.Object requestApplicationData)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.Exception |
getException()
The exception which occurred when sending the HTTP Request, if any. |
org.apache.http.HttpResponse |
getHttpResponse()
The response to the HTTP Request. |
java.lang.Object |
getRequestApplicationData()
The application data included in the HTTP Request. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResponseEvent(org.apache.http.HttpResponse httpResponse,
java.lang.Object requestApplicationData)
public ResponseEvent(java.lang.Exception exception,
java.lang.Object requestApplicationData)
| Method Detail |
|---|
public java.lang.Object getRequestApplicationData()
public org.apache.http.HttpResponse getHttpResponse()
public java.lang.Exception getException()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||