Class PortletContextImpl

java.lang.Object
org.gatein.pc.portlet.impl.jsr168.api.PortletContextImpl
All Implemented Interfaces:
javax.portlet.PortletContext

public class PortletContextImpl extends Object implements javax.portlet.PortletContext
Version:
$Revision: 6713 $
Author:
Julien Viet
  • Constructor Details

    • PortletContextImpl

      public PortletContextImpl(javax.servlet.ServletContext servletContext)
  • Method Details

    • getServerInfo

      public String getServerInfo()
      Specified by:
      getServerInfo in interface javax.portlet.PortletContext
    • getRequestDispatcher

      public javax.portlet.PortletRequestDispatcher getRequestDispatcher(String path)
      Specified by:
      getRequestDispatcher in interface javax.portlet.PortletContext
    • getNamedDispatcher

      public javax.portlet.PortletRequestDispatcher getNamedDispatcher(String name)
      Specified by:
      getNamedDispatcher in interface javax.portlet.PortletContext
    • getResourceAsStream

      public InputStream getResourceAsStream(String s)
      Specified by:
      getResourceAsStream in interface javax.portlet.PortletContext
    • getMajorVersion

      public int getMajorVersion()
      Specified by:
      getMajorVersion in interface javax.portlet.PortletContext
    • getMinorVersion

      public int getMinorVersion()
      Specified by:
      getMinorVersion in interface javax.portlet.PortletContext
    • getMimeType

      public String getMimeType(String s)
      Specified by:
      getMimeType in interface javax.portlet.PortletContext
    • getRealPath

      public String getRealPath(String s)
      Specified by:
      getRealPath in interface javax.portlet.PortletContext
    • getResourcePaths

      public Set<String> getResourcePaths(String s)
      Specified by:
      getResourcePaths in interface javax.portlet.PortletContext
    • getResource

      public URL getResource(String s) throws MalformedURLException
      Specified by:
      getResource in interface javax.portlet.PortletContext
      Throws:
      MalformedURLException
    • getAttribute

      public Object getAttribute(String s)
      Specified by:
      getAttribute in interface javax.portlet.PortletContext
    • getAttributeNames

      public Enumeration<String> getAttributeNames()
      Specified by:
      getAttributeNames in interface javax.portlet.PortletContext
    • getInitParameter

      public String getInitParameter(String s)
      Specified by:
      getInitParameter in interface javax.portlet.PortletContext
    • getInitParameterNames

      public Enumeration<String> getInitParameterNames()
      Specified by:
      getInitParameterNames in interface javax.portlet.PortletContext
    • log

      public void log(String s)
      Specified by:
      log in interface javax.portlet.PortletContext
    • log

      public void log(String s, Throwable throwable)
      Specified by:
      log in interface javax.portlet.PortletContext
    • removeAttribute

      public void removeAttribute(String s)
      Specified by:
      removeAttribute in interface javax.portlet.PortletContext
    • setAttribute

      public void setAttribute(String s, Object o)
      Specified by:
      setAttribute in interface javax.portlet.PortletContext
    • getPortletContextName

      public String getPortletContextName()
      Specified by:
      getPortletContextName in interface javax.portlet.PortletContext
    • getContainerRuntimeOptions

      public Enumeration<String> getContainerRuntimeOptions()
      Specified by:
      getContainerRuntimeOptions in interface javax.portlet.PortletContext