Class GateInServletContextProvider

  • All Implemented Interfaces:
    org.apache.portals.bridges.common.ServletContextProvider

    public class GateInServletContextProvider
    extends Object
    implements org.apache.portals.bridges.common.ServletContextProvider
    The JBoss implementation of org.apache.portals.bridges.common.ServletContextProvider use thread local variables to keep the request associated with the current thread of execution.
    Version:
    $Revision: 7226 $
    Author:
    Swarn Dhaliwal, Julien Viet
    • Constructor Detail

      • GateInServletContextProvider

        public GateInServletContextProvider()
    • Method Detail

      • getServletContext

        public javax.servlet.ServletContext getServletContext​(javax.portlet.GenericPortlet genericPortlet)
                                                       throws IllegalStateException
        Specified by:
        getServletContext in interface org.apache.portals.bridges.common.ServletContextProvider
        Throws:
        IllegalStateException - if no bridge info is found
      • getHttpServletRequest

        public javax.servlet.http.HttpServletRequest getHttpServletRequest​(javax.portlet.GenericPortlet genericPortlet,
                                                                           javax.portlet.PortletRequest portletRequest)
                                                                    throws IllegalStateException
        Specified by:
        getHttpServletRequest in interface org.apache.portals.bridges.common.ServletContextProvider
        Throws:
        IllegalStateException - if no bridge info is found
      • getHttpServletResponse

        public javax.servlet.http.HttpServletResponse getHttpServletResponse​(javax.portlet.GenericPortlet genericPortlet,
                                                                             javax.portlet.PortletResponse portletResponse)
                                                                      throws IllegalStateException
        Specified by:
        getHttpServletResponse in interface org.apache.portals.bridges.common.ServletContextProvider
        Throws:
        IllegalStateException - if no bridge info is found