| 
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.Objectcom.bea.portlet.GenericURL
com.bea.portlet.PostbackURL
com.bea.portlet.PageURL
public class PageURL
The PageURL helps portal applications create URLs
 to books and pages.
GenericURL| 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  | 
PageURL(javax.servlet.http.HttpServletRequest httpRequest,
        javax.servlet.http.HttpServletResponse httpResponse)
Constructs a PageURL.  | 
protected  | 
PageURL(javax.servlet.http.HttpServletRequest httpRequest,
        javax.servlet.http.HttpServletResponse httpResponse,
        String pageLabel)
Constructs a PageURL.  | 
protected  | 
PageURL(javax.servlet.http.HttpServletRequest httpRequest,
        javax.servlet.http.HttpServletResponse httpResponse,
        String pageLabel,
        boolean encodeLabel)
Constructs a PageURL.  | 
| Method Summary | |
|---|---|
 Object | 
clone()
Returns a deep copy.  | 
static PageURL | 
createPageURL(javax.servlet.http.HttpServletRequest httpRequest,
              javax.servlet.http.HttpServletResponse httpResponse)
Returns a PageURL.  | 
static PageURL | 
createPageURL(javax.servlet.http.HttpServletRequest httpRequest,
              javax.servlet.http.HttpServletResponse httpResponse,
              String pageLabel)
Returns a PageURL.  | 
static PageURL | 
createPageURL(javax.servlet.http.HttpServletRequest httpRequest,
              javax.servlet.http.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 java.lang.Object | 
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
protected PageURL(javax.servlet.http.HttpServletRequest httpRequest,
                  javax.servlet.http.HttpServletResponse httpResponse,
                  String pageLabel)
Constructs a PageURL.
httpRequest - HTTP requesthttpResponse - HTTP responsepageLabel - page label
protected PageURL(javax.servlet.http.HttpServletRequest httpRequest,
                  javax.servlet.http.HttpServletResponse httpResponse)
Constructs a PageURL.
httpRequest - HTTP requesthttpResponse - HTTP response
protected PageURL(javax.servlet.http.HttpServletRequest httpRequest,
                  javax.servlet.http.HttpServletResponse httpResponse,
                  String pageLabel,
                  boolean encodeLabel)
Constructs a PageURL.
httpRequest - HTTP requesthttpResponse - HTTP responsepageLabel - page labelencodeLabel - true if the page label should be encoded| Method Detail | 
|---|
public static PageURL createPageURL(javax.servlet.http.HttpServletRequest httpRequest,
                                    javax.servlet.http.HttpServletResponse httpResponse)
Returns a PageURL.
httpRequest - HTTP requesthttpResponse - HTTP response
public static PageURL createPageURL(javax.servlet.http.HttpServletRequest httpRequest,
                                    javax.servlet.http.HttpServletResponse httpResponse,
                                    String pageLabel)
Returns a PageURL.
httpRequest - HTTP requesthttpResponse - HTTP responsepageLabel - page label
public static PageURL createPageURL(javax.servlet.http.HttpServletRequest httpRequest,
                                    javax.servlet.http.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,
                         boolean encodeLabel)
Sets page label.
pageLabel - page labelencodeLabel - true if the page label should be encodedpublic void setPageLabel(String pageLabel)
Sets page label.
pageLabel - page labelpublic Object clone()
Returns a deep copy.
clone in class PostbackURL
  | 
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||