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 WebConnection
webRequest
- the requestIOException
- if an IO error occursCopyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.