twitter4j.http
Class HttpResponseEvent
java.lang.Object
twitter4j.http.HttpResponseEvent
public class HttpResponseEvent
- extends java.lang.Object
- Author:
- Andrew Hedges - andrew.hedges at gmail.com
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
request
private HttpRequest request
source
private HttpClient source
response
private HttpResponse response
HttpResponseEvent
HttpResponseEvent(HttpClient source,
HttpRequest request,
HttpResponse response)
getRequest
public HttpRequest getRequest()
- returns the request associated with the event
- Returns:
- the request associated with the event
getResponse
public HttpResponse getResponse()
- returns the response associated with the event
- Returns:
- the response associated with the event
isAuthenticated
public boolean isAuthenticated()
getSource
public HttpClient getSource()
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
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object