本文整理了Java中com.gargoylesoftware.htmlunit.WebClient.throwFailingHttpStatusCodeExceptionIfNecessary()
方法的一些代码示例,展示了WebClient.throwFailingHttpStatusCodeExceptionIfNecessary()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WebClient.throwFailingHttpStatusCodeExceptionIfNecessary()
方法的具体详情如下:
包路径:com.gargoylesoftware.htmlunit.WebClient
类名称:WebClient
方法名:throwFailingHttpStatusCodeExceptionIfNecessary
[英]INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Throws a FailingHttpStatusCodeException if the request's status code indicates a request failure and WebClientOptions#isThrowExceptionOnFailingStatusCode() returns true.
[中]内部API-随时可能更改-使用风险自负。
如果请求的状态代码指示请求失败,并且WebClientOptions#IsthRowexExceptionOnFailingStatusCode()返回true,则引发FailingHttpStatusCodeException。
代码示例来源:origin: net.sourceforge.htmlunit/htmlunit
throwFailingHttpStatusCodeExceptionIfNecessary(loadJob.response_);
代码示例来源:origin: net.sourceforge.htmlunit/htmlunit
webclient.throwFailingHttpStatusCodeExceptionIfNecessary(response);
appletClassLoader_.addClassToClassPath(appletClassName, response);
代码示例来源:origin: net.sourceforge.htmlunit/htmlunit
webclient.throwFailingHttpStatusCodeExceptionIfNecessary(response);
appletClassLoader_.addClassToClassPath(appletClassName, response);
代码示例来源:origin: HtmlUnit/htmlunit
throwFailingHttpStatusCodeExceptionIfNecessary(loadJob.response_);
代码示例来源:origin: HtmlUnit/htmlunit
webclient.throwFailingHttpStatusCodeExceptionIfNecessary(response);
appletClassLoader.addClassToClassPath(appletClassName, response);
代码示例来源:origin: HtmlUnit/htmlunit
uri = response.getWebRequest().getUrl().toExternalForm();
client.printContentIfNecessary(response);
client.throwFailingHttpStatusCodeExceptionIfNecessary(response);
代码示例来源:origin: net.disy.htmlunit/htmlunit
client.throwFailingHttpStatusCodeExceptionIfNecessary(response);
代码示例来源:origin: net.sourceforge.htmlunit/htmlunit
uri = response.getWebRequest().getUrl().toExternalForm();
client.printContentIfNecessary(response);
client.throwFailingHttpStatusCodeExceptionIfNecessary(response);
代码示例来源:origin: org.jvnet.hudson/htmlunit
uri = response.getRequestSettings().getUrl().toExternalForm();
client.printContentIfNecessary(response);
client.throwFailingHttpStatusCodeExceptionIfNecessary(response);
代码示例来源:origin: org.jenkins-ci/htmlunit
uri = response.getRequestSettings().getUrl().toExternalForm();
client.printContentIfNecessary(response);
client.throwFailingHttpStatusCodeExceptionIfNecessary(response);
代码示例来源:origin: net.disy.htmlunit/htmlunit
uri = response.getRequestSettings().getUrl().toExternalForm();
client.printContentIfNecessary(response);
client.throwFailingHttpStatusCodeExceptionIfNecessary(response);
代码示例来源:origin: org.jvnet.hudson/htmlunit
client.throwFailingHttpStatusCodeExceptionIfNecessary(response);
代码示例来源:origin: org.jenkins-ci/htmlunit
client.throwFailingHttpStatusCodeExceptionIfNecessary(response);
代码示例来源:origin: net.sourceforge.htmlunit/htmlunit
throwFailingHttpStatusCodeExceptionIfNecessary(webResponse);
return (P) webWindow.getEnclosedPage();
代码示例来源:origin: HtmlUnit/htmlunit
throwFailingHttpStatusCodeExceptionIfNecessary(webResponse);
return (P) webWindow.getEnclosedPage();
代码示例来源:origin: org.jvnet.hudson/htmlunit
throwFailingHttpStatusCodeExceptionIfNecessary(webResponse);
代码示例来源:origin: org.jenkins-ci/htmlunit
throwFailingHttpStatusCodeExceptionIfNecessary(webResponse);
代码示例来源:origin: net.disy.htmlunit/htmlunit
throwFailingHttpStatusCodeExceptionIfNecessary(webResponse);
代码示例来源:origin: HtmlUnit/htmlunit
client.throwFailingHttpStatusCodeExceptionIfNecessary(response);
代码示例来源:origin: net.sourceforge.htmlunit/htmlunit
client.throwFailingHttpStatusCodeExceptionIfNecessary(response);
内容来源于网络,如有侵权,请联系作者删除!