|
© 2004 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.PostbackURL
com.bea.portlet.WindowURL
com.bea.portlet.StandalonePortletURL
The StandalonePortletURL
helps create links to render
portlets in a separate window (such as a popup window).
GenericURL
Field Summary | |
static String |
STREAMING_PORTLET_URL_PATTERN
|
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, WINDOW_LABEL_PARAM |
Constructor Summary | |
protected |
StandalonePortletURL(HttpServletRequest httpRequest,
HttpServletResponse httpResponse)
Constructs a StandalonePortletURL. |
protected |
StandalonePortletURL(HttpServletRequest httpRequest,
HttpServletResponse httpResponse,
String windowLabel)
Constructs a StandalonePortletURL. |
Method Summary | |
void |
addParameter(String name,
String value)
Add a parameter. |
protected StringBuffer |
appendPathWhenNull(StringBuffer buf,
HttpServletRequest httpRequest)
|
Object |
clone()
Returns a deep copy. |
static StandalonePortletURL |
createStandalonePortletURL(HttpServletRequest httpRequest,
HttpServletResponse httpResponse)
Returns a StandalonePortletURL. |
static StandalonePortletURL |
createStandalonePortletURL(HttpServletRequest httpRequest,
HttpServletResponse httpResponse,
String windowLabel)
Returns a StandalonePortletURL. |
String |
getPortletServletName()
|
void |
setPortletServletName(String servletPortletName)
|
Methods inherited from class com.bea.portlet.WindowURL |
createWindowURL, createWindowURL, getWindowLabel, getWindowMode, getWindowState, setWindowLabel, setWindowMode, setWindowState |
Methods inherited from class com.bea.portlet.PostbackURL |
createPostbackURL, toString |
Methods inherited from class com.bea.portlet.GenericURL |
addParameter, addParameter, appendEnsureSeparator, createQueryString, getContextualPath, getDomain, getEncodeSession, getParameter, getParameters, getPathPrefix, getPort, getResolvedTemplate, getScheme, getSecurePort, getTemplate, getUrlType, removeParameter, setContextualPath, setDomain, setEncodeSession, setPath, setPathPrefix, setPort, setScheme, setSecurePort, setTemplate, toString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String STREAMING_PORTLET_URL_PATTERN
Constructor Detail |
protected StandalonePortletURL(HttpServletRequest httpRequest, HttpServletResponse httpResponse)
Constructs a StandalonePortletURL.
httpRequest
- HTTP requesthttpResponse
- HTTP responseprotected StandalonePortletURL(HttpServletRequest httpRequest, HttpServletResponse httpResponse, String windowLabel)
Constructs a StandalonePortletURL.
httpRequest
- HTTP requesthttpResponse
- HTTP responsewindowLabel
- window labelMethod Detail |
public static StandalonePortletURL createStandalonePortletURL(HttpServletRequest httpRequest, HttpServletResponse httpResponse)
Returns a StandalonePortletURL.
httpRequest
- HTTP requesthttpResponse
- HTTP response
public static StandalonePortletURL createStandalonePortletURL(HttpServletRequest httpRequest, HttpServletResponse httpResponse, String windowLabel)
Returns a StandalonePortletURL.
httpRequest
- HTTP requesthttpResponse
- HTTP responsewindowLabel
- window label
public void setPortletServletName(String servletPortletName)
public String getPortletServletName()
public Object clone()
Returns a deep copy.
clone
in class WindowURL
protected StringBuffer appendPathWhenNull(StringBuffer buf, HttpServletRequest httpRequest)
appendPathWhenNull
in class GenericURL
public void addParameter(String name, String value)
GenericURL
Add a parameter. Multiple values for the same parameter can be set by calling this method multiple times with the same name.
This method URL encodes the parameter name and value value.
addParameter
in class GenericURL
name
- namevalue
- value
|
© 2004 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |