public class UrlFetchWebConnection extends Object implements WebConnection
WebConnection, compatible with Google App Engine.
Note: this class is experimental and not mature like
It doesn't currently support multipart POST.
This might not use all headers because the JDK ignores/censors some headers (at lease Origin). You can disable this censorship by setting 'sun.net.http.allowRestrictedHeaders' to true
|Constructor and Description|
Creates a new web connection instance.
|Modifier and Type||Method and Description|
Submits a request and retrieves a response.
public UrlFetchWebConnection(WebClient webClient)
webClient- the WebClient that is using this connection
public WebResponse getResponse(WebRequest webRequest) throws IOException
Copyright © 2002–2017 Gargoyle Software Inc.. All rights reserved.