public class UrlFetchWebConnection extends Object implements WebConnection
WebConnection, compatible with Google App Engine.
Note: this class is experimental and not mature like HttpWebConnection.
It doesn't currently support multipart POST.
| Constructor and Description |
|---|
UrlFetchWebConnection(WebClient webClient)
Creates a new web connection instance.
|
| Modifier and Type | Method and Description |
|---|---|
WebResponse |
getResponse(WebRequest webRequest)
Submits a request and retrieves a response.
|
public UrlFetchWebConnection(WebClient webClient)
webClient - the WebClient that is using this connectionpublic WebResponse getResponse(WebRequest webRequest) throws IOException
getResponse in interface WebConnectionwebRequest - the requestIOException - if an IO error occursCopyright © 2002–2014 Gargoyle Software Inc.. All rights reserved.