Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2005 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.bea.portlet
Class ResourceURL

    java.lang.Object
      com.bea.portlet.GenericURL
          com.bea.portlet.ResourceURL

All Implemented Interfaces:
  Cloneable

public class ResourceURL
extends GenericURL

Represents a URL to a resource. Resource URLs are typically used for static/dynamic resources such as files, images, etc.

Attribute | Purpose
path | path is the relative path to the resource. If the webapp name is needed in the path use `contextualPath`.
contextualPath | contextualPath is the relative path to the resource. The contextual path includes tha webAppName

Resource URLs can not be used to submit requests to the portal framework.

Field Summary

Fields inherited from class com.bea.portlet.GenericURL
`CONTROL_STATE_PARAM, CURRENT_PAGE, DOMAIN, httpRequest, httpResponse, LOADSTATE_PARAM, MODE_PARAM, PAGE_LABEL_PARAM, params, PATH, PORT, POSTBACK_PARAM, PREFIX, QUERY_STRING, SCHEME, SECURE_PORT, STATE_PARAM, TREE_OPTIMIZATION_PARAM, WINDOW_LABEL_PARAM`

Constructor Summary
`protected` | `ResourceURL(HttpServletRequest httpRequest, HttpServletResponse httpResponse)` Constructs a `ResourceURL`.

Method Summary
`static ResourceURL` | `createResourceURL(HttpServletRequest httpRequest, HttpServletResponse httpResponse)` Returns a ResourceURL.
`String` | `getUrlType()` Returns the type this URL.

Methods inherited from class com.bea.portlet.GenericURL
`addParameter, addParameter, addParameter, appendEnsureSeparator, clone, createQueryString, getContextualPath, getDomain, getEncodeSession, getParameter, getParameters, getPathPrefix, getPort, getResolvedTemplate, getScheme, getSecurePort, getTemplate, removeParameter, setContextualPath, setDomain, setEncodeSession, setPath, setPathPrefix, setPort, setScheme, setSecurePort, setTemplate, toString, toString`

Methods inherited from class java.lang.Object
`equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### ResourceURL

    protected ResourceURL(HttpServletRequest httpRequest,
                          HttpServletResponse httpResponse)

  Constructs a `ResourceURL`.

Method Detail

### createResourceURL

    public static ResourceURL createResourceURL(HttpServletRequest httpRequest,
                                                HttpServletResponse httpResponse)

  Returns a ResourceURL.

  Parameters:
    `httpRequest` - HTTP request
    `httpResponse` - HTTP response
  Returns:
    GenericURL

### getUrlType

    public String getUrlType()

  Returns the type this URL.

  Overrides:
    `getUrlType` in class `GenericURL`
  Returns:

Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2005 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005 BEA Systems, Inc. All Rights Reserved