JspContentURL Class

com.bea.portlet
JspContentURL Class

public class JspContentURL

    extends WindowURL

The JspContentURL helps portlet using JspContent tag to change the contents of the window to another URL.

Related Topics

WindowURL


Hierarchy
Object
  GenericURL
    PostbackURL
      WindowURL
        JspContentURL
All Implemented Interfaces

Cloneable

Field Summary

   
Fields from  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

JspContentURL(HttpServletRequest httpRequest, HttpServletResponse httpResponse, String contentUri)

Constructs a JspContentURL.

JspContentURL(HttpServletRequest httpRequest, HttpServletResponse httpResponse)

Constructs a JspContentURL.

 

Method Summary

public Object
clone()

Returns a deep copy.

public static JspContentURL
createJspContentURL(HttpServletRequest httpRequest, HttpServletResponse httpResponse)

Returns a JspContentURL.

public static JspContentURL
createJspContentURL(HttpServletRequest httpRequest, HttpServletResponse httpResponse, String windowLabel)

Returns a JspContentURL.

public String
getContentUri()

Returns the content uri.

public void
setContentUri(String contentUri)

Sets the content URI.

 
Methods from  com.bea.portlet.WindowURL
createWindowURL, createWindowURL, getWindowLabel, getWindowMode, getWindowState, setWindowLabel, setWindowMode, setWindowState
 
Methods from  com.bea.portlet.PostbackURL
clone, createPostbackURL, toString
 
Methods from  com.bea.portlet.GenericURL
addParameter, addParameter, addParameter, appendEnsureSeparator, clone, createQueryString, getContextualPath, getDomain, getEncodeSession, getParameter, getParameters, getPathPrefix, getPort, getResolvedTemplate, getScheme, getSecurePort, getTemplate, getUrlType, removeParameter, setContextualPath, setDomain, setEncodeSession, setPath, setPathPrefix, setPort, setScheme, setSecurePort, setTemplate, toString, toString
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   

Constructor Detail

JspContentURL

protected JspContentURL(HttpServletRequest httpRequest, 
                        HttpServletResponse httpResponse, 
                        String contentUri)

Constructs a JspContentURL.


JspContentURL

protected JspContentURL(HttpServletRequest httpRequest, 
                        HttpServletResponse httpResponse)

Constructs a JspContentURL.

 

Method Detail

clone() Method

public Object clone()

Returns a deep copy.

Overrides
WindowURL.clone()

Returns

clone

createJspContentURL(HttpServletRequest, HttpServletResponse) Method

public static JspContentURL createJspContentURL(HttpServletRequest httpRequest, 
                                                HttpServletResponse httpResponse)

Returns a JspContentURL.

Parameters

httpRequest
HTTP request
httpResponse
HTTP response

Returns

WindowURL

createJspContentURL(HttpServletRequest, HttpServletResponse, String) Method

public static JspContentURL createJspContentURL(HttpServletRequest httpRequest, 
                                                HttpServletResponse httpResponse, 
                                                String windowLabel)

Returns a JspContentURL.

Parameters

httpRequest
HTTP request
httpResponse
HTTP response
windowLabel
window label

Returns

WindowURL

getContentUri() Method

public String getContentUri()

Returns the content uri.

Returns

mode

setContentUri(String) Method

public void setContentUri(String contentUri)

Sets the content URI.

Parameters

contentUri
content URI