Java android.net ProxyInfo fields, constructors, methods, implement or subclass

Example usage for Java android.net ProxyInfo fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.net ProxyInfo.

The text is from its open source code.

Constructor

ProxyInfo(String host, int port, String exclList)
Create a ProxyProperties that points at a HTTP Proxy.
ProxyInfo(String host, int port, String exclList, String[] parsedExclList)
ProxyInfo(Uri pacFileUrl)
Create a ProxyProperties that points at a PAC URL.
ProxyInfo(String pacFileUrl)
Create a ProxyProperties that points at a PAC URL.
ProxyInfo(ProxyInfo source)

Method

StringgetExclusionListAsString()
comma separated
StringgetHost()
When configured to use a Direct Proxy this returns the host of the proxy.
UrigetPacFileUrl()
Returns the URL of the current PAC script or null if there is no PAC script.
intgetPort()
When configured to use a Direct Proxy this returns the port of the proxy