public class GateInServletContextProvider extends Object implements org.apache.portals.bridges.common.ServletContextProvider
org.apache.portals.bridges.common.ServletContextProvider use thread local
variables to keep the request associated with the current thread of execution.| Modifier and Type | Class and Description |
|---|---|
static class |
GateInServletContextProvider.BridgeInfo |
| Constructor and Description |
|---|
GateInServletContextProvider() |
| Modifier and Type | Method and Description |
|---|---|
static GateInServletContextProvider.BridgeInfo |
get() |
javax.servlet.http.HttpServletRequest |
getHttpServletRequest(javax.portlet.GenericPortlet genericPortlet,
javax.portlet.PortletRequest portletRequest) |
javax.servlet.http.HttpServletResponse |
getHttpServletResponse(javax.portlet.GenericPortlet genericPortlet,
javax.portlet.PortletResponse portletResponse) |
javax.servlet.ServletContext |
getServletContext(javax.portlet.GenericPortlet genericPortlet) |
public static GateInServletContextProvider.BridgeInfo get()
public javax.servlet.ServletContext getServletContext(javax.portlet.GenericPortlet genericPortlet)
throws IllegalStateException
getServletContext in interface org.apache.portals.bridges.common.ServletContextProviderIllegalStateException - if no bridge info is foundpublic javax.servlet.http.HttpServletRequest getHttpServletRequest(javax.portlet.GenericPortlet genericPortlet,
javax.portlet.PortletRequest portletRequest)
throws IllegalStateException
getHttpServletRequest in interface org.apache.portals.bridges.common.ServletContextProviderIllegalStateException - if no bridge info is foundpublic javax.servlet.http.HttpServletResponse getHttpServletResponse(javax.portlet.GenericPortlet genericPortlet,
javax.portlet.PortletResponse portletResponse)
throws IllegalStateException
getHttpServletResponse in interface org.apache.portals.bridges.common.ServletContextProviderIllegalStateException - if no bridge info is foundCopyright © 2003-2017 GateIn. All Rights Reserved.