twitter4j.internal.http
Class HttpResponseEvent

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

public final class HttpResponseEvent
extends java.lang.Object

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

Constructor Summary
HttpResponseEvent(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
 int hashCode()
           
 boolean isAuthenticated()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HttpResponseEvent

public HttpResponseEvent(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()

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


Copyright © 2011. All Rights Reserved.