|
© 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.PostbackURL
com.bea.portlet.PageURL
The PageURL
helps portal applications create URLs
to books and pages.
GenericURL
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 |
PageURL(HttpServletRequest httpRequest,
HttpServletResponse httpResponse)
Constructs a PageURL. |
protected |
PageURL(HttpServletRequest httpRequest,
HttpServletResponse httpResponse,
String pageLabel)
Constructs a PageURL. |
protected |
PageURL(HttpServletRequest httpRequest,
HttpServletResponse httpResponse,
String pageLabel,
boolean encodeLabel)
Constructs a PageURL. |
Method Summary | |
Object |
clone()
Returns a deep copy. |
static PageURL |
createPageURL(HttpServletRequest httpRequest,
HttpServletResponse httpResponse)
Returns a PageURL. |
static PageURL |
createPageURL(HttpServletRequest httpRequest,
HttpServletResponse httpResponse,
String pageLabel)
Returns a PageURL. |
static PageURL |
createPageURL(HttpServletRequest httpRequest,
HttpServletResponse httpResponse,
String pageLabel,
boolean encodeLabel)
Returns a PageURL. |
void |
setPageLabel(String pageLabel)
Sets page label. |
void |
setPageLabel(String pageLabel,
boolean encodeLabel)
Sets page label. |
Methods inherited from class com.bea.portlet.PostbackURL |
createPostbackURL, toString |
Methods inherited from class com.bea.portlet.GenericURL |
addParameter, 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 |
Constructor Detail |
protected PageURL(HttpServletRequest httpRequest, HttpServletResponse httpResponse)
Constructs a PageURL.
protected PageURL(HttpServletRequest httpRequest, HttpServletResponse httpResponse, String pageLabel)
Constructs a PageURL.
protected PageURL(HttpServletRequest httpRequest, HttpServletResponse httpResponse, String pageLabel, boolean encodeLabel)
Constructs a PageURL.
Method Detail |
public Object clone()
Returns a deep copy.
clone
in class PostbackURL
public static PageURL createPageURL(HttpServletRequest httpRequest, HttpServletResponse httpResponse)
Returns a PageURL.
httpRequest
- HTTP requesthttpResponse
- HTTP response
public static PageURL createPageURL(HttpServletRequest httpRequest, HttpServletResponse httpResponse, String pageLabel)
Returns a PageURL.
httpRequest
- HTTP requesthttpResponse
- HTTP responsepageLabel
- page label
public static PageURL createPageURL(HttpServletRequest httpRequest, HttpServletResponse httpResponse, String pageLabel, boolean encodeLabel)
Returns a PageURL.
httpRequest
- HTTP requesthttpResponse
- HTTP responsepageLabel
- page labelencodeLabel
- true if the page label should be encoded
public void setPageLabel(String pageLabel)
Sets page label.
pageLabel
- page labelpublic void setPageLabel(String pageLabel, boolean encodeLabel)
Sets page label.
pageLabel
- page labelencodeLabel
- true if the page label should be encoded
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |