Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 2008 BEA Systems, Inc. All Rights Reserved
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 outside the portal framework. Resource URLs are typically used for static/dynamic resources such as files, images, etc.

See Also
  `GenericURL`

Field Summary

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

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

Method Summary
`Object` | `clone()` Returns a deep copy.
`static ResourceURL` | `createResourceURL(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse)` Returns a ResourceURL.
`String` | `getUrlType()` Returns the type of this URL.

Methods inherited from class com.bea.portlet.GenericURL
`addAjaxNoRewriteParam, addParameter, addParameter, addParameter, appendEnsureSeparator, appendEnsureSeparator, createGenericURL, createQueryString, createQueryStringBuilder, getAmpForm, getContextualPath, getDomain, getEncodeSession, getParameter, getParameters, getPath, getPathPrefix, getPort, getResolvedTemplate, getScheme, getSecurePort, getTemplate, removeParameter, setContextualPath, setDomain, setEncodeSession, setForcedAmpForm, 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(javax.servlet.http.HttpServletRequest httpRequest,
                          javax.servlet.http.HttpServletResponse httpResponse)

  Constructs a `ResourceURL`.

  Parameters
    `httpRequest` - HTTP request
    `httpResponse` - HTTP response

Method Detail

### createResourceURL

    public static ResourceURL createResourceURL(javax.servlet.http.HttpServletRequest httpRequest,
                                                javax.servlet.http.HttpServletResponse httpResponse)

  Returns a ResourceURL.

  Parameters
    `httpRequest` - HTTP request
    `httpResponse` - HTTP response
  Returns
    a new ResourceURL

### getUrlType

    public String getUrlType()

  Returns the type of this URL.

  Overrides:
    `getUrlType` in class `GenericURL`
  Returns
    the type of this URL: `URLTemplatesFactory.SECURE_RESOURCE_TEMPLATE` for a secure URL, `URLTemplatesFactory.RESOURCE_TEMPLATE` for an insecure URL.

### clone

    public Object clone()

  Returns a deep copy.

  Overrides:
    `clone` in class `GenericURL`
  Returns
    a deep copy of the ResourceURL.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008 BEA Systems, Inc. All Rights Reserved