setProxy method

Class: EyesPlatform: ImagesLanguage: Java SDK:

Use this method to configure Eyes so that it will interact with the Eyes server via a proxy.

By default, the SDK interacts directly with the Eyes server. If necessary, you can define a proxy server so that the SDK will interact with the proxy server, and the proxy server will relay the interaction with the Eyes server.

Syntax


IConfigurationSetter value = eyes.setProxy(abstractProxySettings);

Parameters

abstractProxySettings
Type:<a class ='link' href='/Content/api/eyes-sdk/index-gen/class-proxysettings-images-java.htm'>AbstractProxySettings</a>
An object created from the AbstractProxySettings class that contains the user name, password, URI and port.

Return value

Type: IConfigurationSetter