org.hyperic.hq.ui.util
Class URLUtils
java.lang.Object
org.hyperic.hq.ui.util.URLUtils
public class URLUtils
- extends java.lang.Object
Util class for url building and formatting
Method Summary |
static java.lang.String |
buildPluginAbsoluteURL(java.lang.String pluginName,
java.lang.String pluginPath,
java.lang.String pluginId,
java.lang.String baseURL,
java.lang.String sessionId)
Get the url for the HQU plugin |
static java.lang.String |
buildResourceURL(AppdefResourceValue r)
|
static java.lang.String |
getAttachmentURL(AttachmentDescriptor attachmentDesc,
org.apache.tapestry.engine.IEngineService svc)
|
static java.lang.String |
getHQBaseURL(javax.servlet.ServletContext ctx)
|
static java.lang.String |
getLocation(java.lang.String pageDescriptor,
org.apache.tapestry.engine.IEngineService svc)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URLUtils
public URLUtils()
buildResourceURL
public static java.lang.String buildResourceURL(AppdefResourceValue r)
getAttachmentURL
public static java.lang.String getAttachmentURL(AttachmentDescriptor attachmentDesc,
org.apache.tapestry.engine.IEngineService svc)
getLocation
public static java.lang.String getLocation(java.lang.String pageDescriptor,
org.apache.tapestry.engine.IEngineService svc)
buildPluginAbsoluteURL
public static java.lang.String buildPluginAbsoluteURL(java.lang.String pluginName,
java.lang.String pluginPath,
java.lang.String pluginId,
java.lang.String baseURL,
java.lang.String sessionId)
- Get the url for the HQU plugin
- Parameters:
sessionId
- TODO
- Returns:
- a
java.lang.String
url in the form of
http(s)://fqdn[:port]/hqu/pluginName/pluginPath?typeId=pluginViewId
getHQBaseURL
public static java.lang.String getHQBaseURL(javax.servlet.ServletContext ctx)
throws ConfigPropertyException,
java.rmi.RemoteException
- Throws:
ConfigPropertyException
java.rmi.RemoteException
Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.