URLUtils (Hyperic HQ Plugin API)
Keywords: org.hyperic.hq.ui.util.URLUtils class

Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`URLUtils()`

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`

Constructor Detail

### URLUtils

    public URLUtils()

Method Detail

### 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`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.