Package com.microstrategy.utils.proxy
Interface PacScriptSource
-
- All Known Implementing Classes:
UrlPacScriptSource
public interface PacScriptSourceAn source to fetch the PAC script from.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetScriptContent()Gets the PAC script content as String.booleanisScriptValid()Checks if the content of the script is valid and if it is possible to use this script source for a PAC selector.
-
-
-
Method Detail
-
getScriptContent
java.lang.String getScriptContent() throws java.io.IOExceptionGets the PAC script content as String.- Returns:
- a script.
- Throws:
java.io.IOException- on read error.
-
isScriptValid
boolean isScriptValid()
Checks if the content of the script is valid and if it is possible to use this script source for a PAC selector. Note that this might trigger a download of the script content from a remote location.- Returns:
- true if everything is fine, else false.
-
-