| java.lang.Object org.apache.cocoon.portal.impl.LinkInfo
All known Subclasses: org.apache.cocoon.portal.impl.PageLabelLinkInfo,
LinkInfo | public class LinkInfo (Code) | | Helper class containing the information about common parts for each link
that will be generated in the portal page.
version: $Id: LinkInfo.java 433543 2006-08-22 06:22:54Z crossley $ |
Constructor Summary | |
public | LinkInfo(Request request, int defaultPort, int defaultSecurePort) |
hasParameters | protected boolean hasParameters(Code) | | |
httpLinkBase | final protected String httpLinkBase(Code) | | Link base contains the base url for the http protocol.
|
isSecure | final protected boolean isSecure(Code) | | Is the page called using https?
|
LinkInfo | public LinkInfo(Request request, int defaultPort, int defaultSecurePort)(Code) | | |
deleteParameterFromBase | public void deleteParameterFromBase(String parameterName)(Code) | | |
getAbsoluteUrl | protected String getAbsoluteUrl(Request request, boolean useSecure, int port)(Code) | | Return the absolute URL for a reqeust
Parameters: request - The current Request Parameters: useSecure - true if the Request should be secure Parameters: port - The port to use A String containing the absolute url for a request |
getHttpLinkBase | protected String getHttpLinkBase(Request request, String relativeURI, int defaultPort)(Code) | | Return the url for an http request
Parameters: relativeURI - The current relative URI Parameters: defaultPort - The default port to use A string containing the base url for an http request |
getSecureLinkBase | protected String getSecureLinkBase(Request request, String relativeURI, int defaultPort)(Code) | | Return the base url for a secure http request
Parameters: relativeURI - The current relative URI Parameters: defaultPort - The default port to use A String containing the base url for a secure http request |
hasParameters | public boolean hasParameters()(Code) | | |
|
|