org.jboss.seam.social.core.scribe
Class HttpResponseScribe

java.lang.Object
  extended by org.jboss.seam.social.core.scribe.HttpResponseScribe
All Implemented Interfaces:
org.jboss.seam.social.core.HttpResponse

public class HttpResponseScribe
extends Object
implements org.jboss.seam.social.core.HttpResponse

Author:
Antoine Sabot-Durand

Constructor Summary
protected HttpResponseScribe(org.scribe.model.Response response)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getBody()
           
 int getCode()
           
 String getHeader(String name)
           
 Map<String,String> getHeaders()
           
 InputStream getStream()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HttpResponseScribe

protected HttpResponseScribe(org.scribe.model.Response response)
                      throws IOException
Throws:
IOException
Method Detail

getBody

public String getBody()
Specified by:
getBody in interface org.jboss.seam.social.core.HttpResponse

getStream

public InputStream getStream()
Specified by:
getStream in interface org.jboss.seam.social.core.HttpResponse

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getCode

public int getCode()
Specified by:
getCode in interface org.jboss.seam.social.core.HttpResponse

getHeaders

public Map<String,String> getHeaders()
Specified by:
getHeaders in interface org.jboss.seam.social.core.HttpResponse

getHeader

public String getHeader(String name)
Specified by:
getHeader in interface org.jboss.seam.social.core.HttpResponse

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 Seam Framework. All Rights Reserved.