© 2003 BEA Systems, Inc.

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.

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, DOMAIN, httpRequest, httpResponse, LOADSTATE_PARAM, MODE_PARAM, PAGE_LABEL_PARAM, params, PATH, PORT, POSTBACK_PARAM, PREFIX, QUERY_STRING, SCHEME, SECURE_PORT, STATE_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.
 
Methods inherited from class com.bea.portlet.GenericURL
addParameter, addParameter, addParameter, appendEnsureSeparator, appendPathWhenNull, clone, getDomain, getEncodeSession, getParameter, getParameters, getPathPrefix, getPort, getResolvedTemplate, getScheme, getSecurePort, getTemplate, removeParameter, 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.

Parameters:
httpRequest - HTTP request
httpResponse - HTTP response
Method Detail

createResourceURL

public static ResourceURL createResourceURL(HttpServletRequest httpRequest,
                                            HttpServletResponse httpResponse)

Returns a ResourceURL.

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

© 2003 BEA Systems, Inc.

Copyright © 2003 BEA Systems, Inc. All Rights Reserved