Class 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
    • Field Detail

      • inv

        protected final org.gatein.pc.api.invocation.PortletInvocation inv
        .
      • 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:
        setParameter in interface javax.portlet.BaseURL
        Throws:
        IllegalArgumentException - if the name is null
      • setParameter

        public void setParameter​(String name,
                                 String[] values)
        Specified by:
        setParameter in interface javax.portlet.BaseURL
      • setParameters

        public void setParameters​(Map<String,​String[]> parameters)
        Specified by:
        setParameters in interface javax.portlet.BaseURL
      • setSecure

        public void setSecure​(boolean secure)
                       throws javax.portlet.PortletSecurityException
        Specified by:
        setSecure in interface javax.portlet.BaseURL
        Throws:
        javax.portlet.PortletSecurityException
      • getParameterMap

        public Map<String,​String[]> getParameterMap()
        Specified by:
        getParameterMap in interface javax.portlet.BaseURL
      • addProperty

        public void addProperty​(String key,
                                String value)
        Specified by:
        addProperty in interface javax.portlet.BaseURL
      • setProperty

        public void setProperty​(String key,
                                String value)
        Specified by:
        setProperty in interface javax.portlet.BaseURL
      • toString

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

        public void write​(Writer writer)
                   throws IOException
        Specified by:
        write in interface javax.portlet.BaseURL
        Throws:
        IOException
      • write

        public void write​(Writer writer,
                          boolean b)
                   throws IOException
        Specified by:
        write in interface javax.portlet.BaseURL
        Throws:
        IOException
      • filter

        protected abstract void filter​(javax.portlet.PortletURLGenerationListener listener)
      • createClone

        protected abstract BaseURLImpl createClone()