org.jboss.portal.common.servlet
Class URLFormat
java.lang.Object
org.jboss.portal.common.servlet.URLFormat
public class URLFormat
- extends java.lang.Object
Defines how a URL should be formatted when rendered.
- Version:
- $Revision: 630 $
- Author:
- Julien Viet
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
create
public static URLFormat create(java.lang.Boolean secure,
java.lang.Boolean authenticated,
java.lang.Boolean relative,
java.lang.Boolean escapeXML,
java.lang.Boolean servletEncoded)
- Factory creation of URLFormat objects.
- Parameters:
secure - if the url should be secureauthenticated - if the url should force the user to authenticaterelative - if the url is relative or absoluteescapeXML - if the url should have XML escapedservletEncoded - if the url should be encoded with the servlet response (session propagation)
- Returns:
- the rendered URL
getSecure
public java.lang.Boolean getSecure()
getAuthenticated
public java.lang.Boolean getAuthenticated()
getRelative
public java.lang.Boolean getRelative()
getEscapeXML
public java.lang.Boolean getEscapeXML()
getServletEncoded
public java.lang.Boolean getServletEncoded()
Copyright © 2008. All Rights Reserved.