public class

ProxyUtil

extends Object
java.lang.Object
   ↳ com.microstrategy.utils.proxy.ProxyUtil

Class Overview

Small helper class for some common utility methods.

Summary

Constants
int DEFAULT_PROXY_PORT
Public Constructors
ProxyUtil()
Public Methods
static PacProxySelector buildPacSelectorForUrl(String url)
Build a PAC proxy selector for the given URL.
synchronized static List<Proxy> noProxyList()
Gets an unmodifiable proxy list that will have as it's only entry an DIRECT proxy.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int DEFAULT_PROXY_PORT

Constant Value: 80 (0x00000050)

Public Constructors

public ProxyUtil ()

Public Methods

public static PacProxySelector buildPacSelectorForUrl (String url)

Build a PAC proxy selector for the given URL.

Parameters
url to fetch the PAC script from.
Returns
  • a PacProxySelector or null if it is not possible to build a working selector.

public static synchronized List<Proxy> noProxyList ()

Gets an unmodifiable proxy list that will have as it's only entry an DIRECT proxy.

Returns
  • a list with a DIRECT proxy in it.