|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.portlet.GenericURL com.bea.portlet.ResourceURL
public class 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 |
---|
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 | |
---|---|
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 java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected ResourceURL(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse)
Constructs a ResourceURL
.
httpRequest
- HTTP requesthttpResponse
- HTTP responseMethod Detail |
---|
public static ResourceURL createResourceURL(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse)
Returns a ResourceURL.
httpRequest
- HTTP requesthttpResponse
- HTTP response
public String getUrlType()
Returns the type of this URL.
getUrlType
in class GenericURL
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |