Class BaseURLImpl
- java.lang.Object
-
- org.gatein.pc.portlet.impl.jsr168.api.BaseURLImpl
-
- All Implemented Interfaces:
javax.portlet.BaseURL
- Direct Known Subclasses:
PortletURLImpl,ResourceURLImpl
public abstract class BaseURLImpl extends Object implements javax.portlet.BaseURL
- Version:
- $Revision: 630 $
- Author:
- Julien Viet
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classBaseURLImpl.InternalContainerURL
-
Field Summary
Fields Modifier and Type Field Description protected booleanfilterable.protected org.gatein.pc.api.invocation.PortletInvocationinv.protected PortletRequestImplpreq.protected intsecure.
-
Constructor Summary
Constructors Modifier Constructor Description protectedBaseURLImpl(org.gatein.pc.api.invocation.PortletInvocation invocation, PortletRequestImpl preq, boolean filterable)protectedBaseURLImpl(BaseURLImpl original)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidaddProperty(String key, String value)protected abstract BaseURLImplcreateClone()protected abstract voidfilter(javax.portlet.PortletURLGenerationListener listener)protected abstract BaseURLImpl.InternalContainerURLgetContainerURL()Map<String,String[]>getParameterMap()voidsetParameter(String name, String value)voidsetParameter(String name, String[] values)voidsetParameters(Map<String,String[]> parameters)voidsetProperty(String key, String value)voidsetSecure(boolean secure)StringtoString()voidwrite(Writer writer)voidwrite(Writer writer, boolean b)
-
-
-
Field Detail
-
inv
protected final org.gatein.pc.api.invocation.PortletInvocation inv
.
-
preq
protected final PortletRequestImpl preq
.
-
secure
protected int secure
.
-
filterable
protected final boolean filterable
.
-
-
Constructor Detail
-
BaseURLImpl
protected BaseURLImpl(org.gatein.pc.api.invocation.PortletInvocation invocation, PortletRequestImpl preq, boolean filterable)
-
BaseURLImpl
protected BaseURLImpl(BaseURLImpl original)
-
-
Method Detail
-
setParameter
public void setParameter(String name, String value)
- Specified by:
setParameterin interfacejavax.portlet.BaseURL- Throws:
IllegalArgumentException- if the name is null
-
setParameter
public void setParameter(String name, String[] values)
- Specified by:
setParameterin interfacejavax.portlet.BaseURL
-
setParameters
public void setParameters(Map<String,String[]> parameters)
- Specified by:
setParametersin interfacejavax.portlet.BaseURL
-
setSecure
public void setSecure(boolean secure) throws javax.portlet.PortletSecurityException- Specified by:
setSecurein interfacejavax.portlet.BaseURL- Throws:
javax.portlet.PortletSecurityException
-
getParameterMap
public Map<String,String[]> getParameterMap()
- Specified by:
getParameterMapin interfacejavax.portlet.BaseURL
-
addProperty
public void addProperty(String key, String value)
- Specified by:
addPropertyin interfacejavax.portlet.BaseURL
-
setProperty
public void setProperty(String key, String value)
- Specified by:
setPropertyin interfacejavax.portlet.BaseURL
-
toString
public String toString()
-
write
public void write(Writer writer) throws IOException
- Specified by:
writein interfacejavax.portlet.BaseURL- Throws:
IOException
-
write
public void write(Writer writer, boolean b) throws IOException
- Specified by:
writein interfacejavax.portlet.BaseURL- Throws:
IOException
-
filter
protected abstract void filter(javax.portlet.PortletURLGenerationListener listener)
-
createClone
protected abstract BaseURLImpl createClone()
-
getContainerURL
protected abstract BaseURLImpl.InternalContainerURL getContainerURL()
-
-