net.java.client.slee.resource.http.event
Class ResponseEvent
java.lang.Object
net.java.client.slee.resource.http.event.ResponseEvent
- All Implemented Interfaces:
- java.io.Serializable
public class ResponseEvent
- extends java.lang.Object
- implements java.io.Serializable
Service sending Request asynchronously will receive
net.java.client.slee.resource.http.event.ResponseEvent as soon as the
Resource Adaptor receives the Response and emitts ResponseEvent.
ResponseEvent carries either the Response if everything went fine else
Exception if there was any problem
- Author:
- amit.bhayani
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ResponseEvent
public ResponseEvent(Response response)
ResponseEvent
public ResponseEvent(java.lang.Exception exception)
getResponse
public Response getResponse()
getException
public java.lang.Exception getException()
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
Copyright © 2011. All Rights Reserved.