twitter4j.http
Class HttpResponseEvent

java.lang.Object
  extended by twitter4j.http.HttpResponseEvent

public class HttpResponseEvent
extends java.lang.Object

Author:
Andrew Hedges - andrew.hedges at gmail.com

Field Summary
private  HttpRequest request
           
private  HttpResponse response
           
private  HttpClient source
           
 
Constructor Summary
HttpResponseEvent(HttpClient source, HttpRequest request, HttpResponse response)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 HttpRequest getRequest()
          returns the request associated with the event
 HttpResponse getResponse()
          returns the response associated with the event
 HttpClient getSource()
           
 int hashCode()
           
 boolean isAuthenticated()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

request

private HttpRequest request

source

private HttpClient source

response

private HttpResponse response
Constructor Detail

HttpResponseEvent

HttpResponseEvent(HttpClient source,
                  HttpRequest request,
                  HttpResponse response)
Method Detail

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