public final class HttpResponseEvent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private HttpRequest |
request |
private HttpResponse |
response |
private TwitterException |
twitterException |
Constructor and Description |
---|
HttpResponseEvent(HttpRequest request,
HttpResponse response,
TwitterException te) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
HttpRequest |
getRequest()
returns the request associated with the event
|
HttpResponse |
getResponse()
returns the response associated with the event
|
TwitterException |
getTwitterException()
returns the TwitterException associated with the event
|
int |
hashCode() |
boolean |
isAuthenticated() |
java.lang.String |
toString() |
private final HttpRequest request
private final HttpResponse response
private final TwitterException twitterException
HttpResponseEvent(HttpRequest request, HttpResponse response, TwitterException te)
public HttpRequest getRequest()
public HttpResponse getResponse()
public TwitterException getTwitterException()
public boolean isAuthenticated()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object