public interface IPortalServlet extends IComponent, Servlet, ICurrentResourceResolver
IWebApplication
.
It is the entry point for all Http-Based requestsModifier and Type | Field and Description |
---|---|
static String |
CURRENT_REQUEST_KEY
The key for the current request from Thread Local Storage
Note, if this key ever changes, you MUST CHANGE the Event.java key as well
|
static String |
CURRENT_RESPONSE_KEY |
Modifier and Type | Method and Description |
---|---|
HttpServletRequest |
getCurrentRequestForThread()
Get the http request being serviced by the current thread
|
HttpServletResponse |
getCurrentResponseForThread()
Get the http respnse being serviced by the current thread
|
void |
sendRedirect(HttpServletRequest request,
HttpServletResponse response,
String redirectURL)
Sends an appropriate redirect
|
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
init, shutdown
destroy, getServletConfig, getServletInfo, init, service
getCurrentResource, setCurrentResource
acquireURI, acquireURI
static final String CURRENT_REQUEST_KEY
static final String CURRENT_RESPONSE_KEY
void sendRedirect(HttpServletRequest request, HttpServletResponse response, String redirectURL)
request
- response
- redirectURL
- HttpServletRequest getCurrentRequestForThread()
HttpServletResponse getCurrentResponseForThread()