Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I set the proxy settings when using the K2 Spider Com/Java Object API?

0
Posted

How do I set the proxy settings when using the K2 Spider Com/Java Object API?

0

The NetSetting class controls all aspects of network settings related to web crawling/indexing, including the proxy settings. The options related to proxy setting are: hostName, portNum, userName, password, and noProxyArray. This class is set within the IdxJobInfoArguments. For example: myIndJobInfoArg = new IdxJobInfoArguments myIndJobInfoArg.netSetting.hostName = “MyProxyServerName” myIndJobInfoArg.netSetting.portNum = 8080 The retry, password, and delay options are also used in conjunction with the Proxy server. See the NetSetting class in the VIndex Javadoc.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123