|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gdata.client.authn.oauth.OAuthHttpClient
public class OAuthHttpClient
A simple client for making http requests and returning the response body.
Uses HttpURLConnection to make http requests.
| Constructor Summary | |
|---|---|
OAuthHttpClient()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getResponse(java.net.URL url)
Makes an http request to the input URL, and returns the response body as a string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OAuthHttpClient()
| Method Detail |
|---|
public java.lang.String getResponse(java.net.URL url)
throws OAuthException
url - the url to make the request to
OAuthException - if there was an error making the request
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||