public interface SessionHelperFactory
Modifier and Type | Method and Description |
---|---|
javax.servlet.FilterConfig |
instantiateFilterConfig(javax.servlet.FilterConfig cfg)
Given an application server's FilterConfig object, create a wrapper.
|
javax.servlet.http.HttpServletRequest |
instantiateHttpServletRequest(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, String sSessionId, boolean fCookie, boolean fUrl)
Create an HttpServletRequest wrapper.
|
javax.servlet.http.HttpServletResponse |
instantiateHttpServletResponse(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
Create an HttpServletResponse wrapper.
|
javax.servlet.http.HttpSession |
instantiateHttpSession(HttpSessionCollection collection)
Create a new HttpSession object.
|
javax.servlet.http.HttpSession |
instantiateHttpSession(HttpSessionCollection collection, String sId)
Create an HttpSession object for an existing session ID.
|
javax.servlet.http.HttpSessionContext |
instantiateHttpSessionContext()
Create an HttpSessionContext implementation.
|
javax.servlet.ServletConfig |
instantiateServletConfig(javax.servlet.ServletConfig cfg)
Given an application server's ServletConfig object, create a wrapper.
|
javax.servlet.ServletContext |
instantiateServletContext()
Create a ServletContext wrapper implementation.
|
SessionHelper |
instantiateSessionHelper(javax.servlet.ServletContext ctx)
Given an application server's ServletContext object, initialize the factory and create the SessionHelper object.
|
SessionHelper instantiateSessionHelper(javax.servlet.ServletContext ctx)
ctx
- an application server ServletContext objectjavax.servlet.ServletContext instantiateServletContext()
javax.servlet.http.HttpSessionContext instantiateHttpSessionContext()
javax.servlet.FilterConfig instantiateFilterConfig(javax.servlet.FilterConfig cfg)
cfg
- an application server FilterConfig objectjavax.servlet.ServletConfig instantiateServletConfig(javax.servlet.ServletConfig cfg)
cfg
- an application server ServletConfig objectjavax.servlet.http.HttpServletRequest instantiateHttpServletRequest(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, String sSessionId, boolean fCookie, boolean fUrl)
req
- the app server's request objectres
- the app server's response objectsSessionId
- the session ID (if any) that came with the requestfCookie
- if the session ID came from a cookiefUrl
- if the session ID came from the urljavax.servlet.http.HttpServletResponse instantiateHttpServletResponse(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
req
- the wrapped request objectres
- the app server's response objectjavax.servlet.http.HttpSession instantiateHttpSession(HttpSessionCollection collection)
collection
- the HttpSessionCollection that manages the session modelsjavax.servlet.http.HttpSession instantiateHttpSession(HttpSessionCollection collection, String sId)
collection
- the HttpSessionCollection that manages the session modelssId
- the session ID