hi all!
how do use FetchService with htmlunit2.8?
final WebClient webClient = new WebClient(BrowserVersion.FIREFOX_3_6);
webClient.setTimeout(30 * 1000);
webClient.setJavaScriptEnabled(true);
webClient.setUseInsecureSSL(true);
webClient.setThrowExceptionOnScriptError(false);
webClient.setRefreshHandler(new WaitingRefreshHandler(1))
at
com.google.appengine.api.urlfetch.URLFetchServiceImpl.convertApplicationException(URLFetchServiceImpl.java:
114)
at
com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchServiceImpl.java:
41)
at
com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler
$Connection.fetchResponse(URLFetchServiceStreamHandler.java:418)
at
com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler
$Connection.getInputStream(URLFetchServiceStreamHandler.java:297)
at
com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler
$Connection.getResponseCode(URLFetchServiceStreamHandler.java:150)
at
com.gargoylesoftware.htmlunit.UrlFetchWebConnection.getResponse(UrlFetchWebConnection.java:
115)
at
com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection(WebClient.java:
1405)
at
com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:
1324)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:
303)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:
369)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:
354)
thanks all!
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.