Package com.webmethods.portal.framework
Interface IPortalServlet
- All Superinterfaces:
IComponent
,ICurrentResourceResolver
,IInitializable
,IURIResolver
,Servlet
The PortalServlet is the main Servlet for the
IWebApplication
.
It is the entry point for all Http-Based requests-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet the http request being serviced by the current threadGet the http respnse being serviced by the current threadvoid
sendRedirect
(HttpServletRequest request, HttpServletResponse response, String redirectURL) Sends an appropriate redirectMethods inherited from interface com.webmethods.portal.system.IComponent
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
Methods inherited from interface com.webmethods.portal.framework.ICurrentResourceResolver
getCurrentResource, setCurrentResource
Methods inherited from interface com.webmethods.portal.system.init.IInitializable
init, shutdown
Methods inherited from interface com.webmethods.portal.system.IURIResolver
acquireURI, acquireURI
Methods inherited from interface javax.servlet.Servlet
destroy, getServletConfig, getServletInfo, init, service
-
Field Details
-
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- See Also:
-
CURRENT_RESPONSE_KEY
- See Also:
-
-
Method Details
-
sendRedirect
Sends an appropriate redirect- Parameters:
request
-response
-redirectURL
-
-
getCurrentRequestForThread
HttpServletRequest getCurrentRequestForThread()Get the http request being serviced by the current thread- Returns:
- the request object or null if none
-
getCurrentResponseForThread
HttpServletResponse getCurrentResponseForThread()Get the http respnse being serviced by the current thread- Returns:
- the response object or null if none
-