基于HtmlUnit2.18 ,增加单台计算机动态多网卡多出口IP支持。在webClient.getOptions()下增加了setLocalAddress_方法,传入的参数类型是InetAddress。
例如:
webClient.getOptions().setLocalAddress_(getLocalInetAddress("xxx.xxx.xxx.xxx"));
org.taoningyu.test 有测试例程。
Base on HtmlUnit2.18.
If you have one moe InetAddress on your computer ,you could use this program to use them.
ex. webClient.getOptions().setLocalAddress_(getLocalInetAddress("xxx.xxx.xxx.xxx"));
see detail org.taoningyu.test
-
Notifications
You must be signed in to change notification settings - Fork 1
Supermax197/HtmlUnitTao
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
基于HtmlUnit2.18 ,增加单台计算机动态多网卡多出口IP支持。Base on HtmlUnit2.18,make more than one InetAddress available.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published