com.liferay.faces.bridge.context.url
Class BaseURLEncodedExternalStringImpl

java.lang.Object
  extended by com.liferay.faces.bridge.context.url.BaseURLNonEncodedStringImpl
      extended by com.liferay.faces.bridge.context.url.BaseURLEncodedStringImpl
          extended by com.liferay.faces.bridge.context.url.BaseURLEncodedExternalStringImpl
All Implemented Interfaces:
javax.portlet.BaseURL

public class BaseURLEncodedExternalStringImpl
extends BaseURLEncodedStringImpl

This class represents a simple "encoded" BaseURL, meaning an implementation that encodes a String based URL that is "external" to the application. Since this class doesn't override any methods in the superclass it is essentially a marker-class for code readability. The only methods that are meant to be called is BaseURLEncodedStringImpl.toString() and BaseURLNonEncodedStringImpl.write(Writer, boolean). All other methods throw an UnsupportedOperationException.

Author:
Neil Griffin

Constructor Summary
BaseURLEncodedExternalStringImpl(String externalURL, Map<String,String[]> parameterMap, BridgeContext bridgeContext)
          Constructs a new instance of this class.
 
Method Summary
 
Methods inherited from class com.liferay.faces.bridge.context.url.BaseURLEncodedStringImpl
toString
 
Methods inherited from class com.liferay.faces.bridge.context.url.BaseURLNonEncodedStringImpl
addProperty, getMain, getParameterMap, getQuery, setParameter, setParameter, setParameters, setProperty, setSecure, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BaseURLEncodedExternalStringImpl

public BaseURLEncodedExternalStringImpl(String externalURL,
                                        Map<String,String[]> parameterMap,
                                        BridgeContext bridgeContext)
Constructs a new instance of this class.

Parameters:
externalURL - This is a URL "external" to this application, like http://www.foo.bar/foo.png
parameterMap - The current map of URL parameters.
bridgeContext - The current BridgeContext.


Copyright © 2014 Liferay, Inc.. All Rights Reserved.