public class IlrWUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
closeCurrentPort() |
static java.lang.String |
getContextPath() |
static IlxWPort |
getCurrentPort() |
static javax.servlet.http.HttpSession |
getHttpSession() |
static java.lang.String |
getIconResourceName(java.lang.String key)
Retrieves the path of the icon (a .gif file) designated by the given key, in the
ilog.rules preferences namespace. |
static ilog.rules.shared.util.IlrPreferenceProvider |
getPreferences() |
static javax.servlet.http.HttpServletRequest |
getRequest() |
static void |
setRequest(javax.servlet.http.HttpServletRequest request)
Put the given request in a thread local to be used by some of the methods of this utility class.
|
public static java.lang.String getIconResourceName(java.lang.String key)
ilog.rules preferences namespace.
For instance, the following code: IlrWUtils.getIconResourceName("ui.Rule.Rule.template.icon"); returns /ilog/rules/builder/ruletemplate.gif.
IlrPreferencespublic static ilog.rules.shared.util.IlrPreferenceProvider getPreferences()
public static javax.servlet.http.HttpServletRequest getRequest()
public static javax.servlet.http.HttpSession getHttpSession()
public static IlxWPort getCurrentPort()
public static void closeCurrentPort()
throws java.io.IOException
java.io.IOExceptionpublic static void setRequest(javax.servlet.http.HttpServletRequest request)
request - public static java.lang.String getContextPath()
© Copyright IBM Corp. 1987, 2017