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

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

public class BaseURLDirectStringImpl
extends BaseURLNonEncodedStringImpl

This class represents a simple "direct" BaseURL, meaning an implementation that wraps a path and constructs an absolute path URL based on the scheme, server name, and port found in the PortletRequest. The only methods that are meant to be called is toString() and BaseURLNonEncodedStringImpl.write(Writer, boolean). All other methods throw an UnsupportedOperationException.

Author:
Neil Griffin

Constructor Summary
BaseURLDirectStringImpl(String url, Map<String,String[]> parameterMap, String path, javax.portlet.PortletRequest portletRequest)
           
 
Method Summary
 String 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

BaseURLDirectStringImpl

public BaseURLDirectStringImpl(String url,
                               Map<String,String[]> parameterMap,
                               String path,
                               javax.portlet.PortletRequest portletRequest)
Method Detail

toString

public String toString()
Specified by:
toString in interface javax.portlet.BaseURL
Overrides:
toString in class BaseURLNonEncodedStringImpl


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