|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.portlet.GenericURL
com.bea.portlet.ResourceURL
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 |
protected ResourceURL(HttpServletRequest httpRequest, HttpServletResponse httpResponse)
Constructs a ResourceURL
.
Method Detail |
public static ResourceURL createResourceURL(HttpServletRequest httpRequest, HttpServletResponse httpResponse)
Returns a ResourceURL.
httpRequest
- HTTP requesthttpResponse
- HTTP response
public String getUrlType()
Returns the type this URL.
getUrlType
in class GenericURL
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |