简体   繁体   中英

how to specify the retry mechanism in htmlunit's webclient

I just want to adjust the retry time in htmlunit's webClient. But it seems that there is no such a configuration. So I want to know how to do this? or how to access the httpClient behind the webClient(it seems that webClient uses apache's httpClient to do the underlying HTTP operation)

So far there is no support to configure this. Please open a issue /feature request and describe your needs. Will try to support that.

As HtmlUnit tries to mimic real browsers as possible it will be great if you can point to any information how real browsers handling this situations.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM