com.gargoylesoftware.htmlunit.WebClient.throwFailingHttpStatusCodeExceptionIfNecessary()方法的使用及代码示例

x33g5p2x  于2022-02-02 转载在 其他  
字(3.7k)|赞(0)|评价(0)|浏览(161)

本文整理了Java中com.gargoylesoftware.htmlunit.WebClient.throwFailingHttpStatusCodeExceptionIfNecessary()方法的一些代码示例,展示了WebClient.throwFailingHttpStatusCodeExceptionIfNecessary()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WebClient.throwFailingHttpStatusCodeExceptionIfNecessary()方法的具体详情如下:
包路径:com.gargoylesoftware.htmlunit.WebClient
类名称:WebClient
方法名:throwFailingHttpStatusCodeExceptionIfNecessary

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);

相关文章

WebClient类方法