public interface

PacScriptParser

com.microstrategy.utils.proxy.PacScriptParser
Known Indirect Subclasses

Class Overview

Common interface for PAC script parsers.

Summary

Public Methods
abstract String evaluate(String url, String host)
Evaluates the given URL and host against the PAC script.
abstract PacScriptSource getScriptSource()
Gets the source of the PAC script used by this parser.

Public Methods

public abstract String evaluate (String url, String host)

Evaluates the given URL and host against the PAC script.

Parameters
url the URL to evaluate.
host the host name part of the URL.
Returns
  • the script result.
Throws
on execution error.
Exception

public abstract PacScriptSource getScriptSource ()

Gets the source of the PAC script used by this parser.

Returns
  • a PacScriptSource.