setStaticProxy

public void setStaticProxy(String iface, String host, int port, List<String> excludedHosts)

Applies the given direct proxy config.

Note: Users must reboot their device for the proxy config to be affective.

Parameters

iface

- the interface on which to set the config

host

- proxy server host name

port

- proxy server port number

excludedHosts

- hosts which will be excluded from proxy

Throws

if the operation fails