Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


com.tangosol.coherence.servlet
Interface SessionHelperFactory


public interface SessionHelperFactory

Created by IntelliJ IDEA. User: jkirsch Date: Aug 25, 2011 Time: 11:32:53 AM To change this template use File | Settings | File Templates.


Method Summary
 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, java.lang.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, java.lang.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.

 

Method Detail

instantiateSessionHelper

SessionHelper instantiateSessionHelper(javax.servlet.ServletContext ctx)
Given an application server's ServletContext object, initialize the factory and create the SessionHelper object. This is the bootstrap, and will be called exactly once.
Parameters:
ctx - an application server ServletContext object
Returns:
the SessionHelper object that the factory will work for

instantiateServletContext

javax.servlet.ServletContext instantiateServletContext()
Create a ServletContext wrapper implementation.
Returns:
a ServletContext object to provide to the application

instantiateHttpSessionContext

javax.servlet.http.HttpSessionContext instantiateHttpSessionContext()
Create an HttpSessionContext implementation.
Returns:
an HttpSessionContext object to provide to the application

instantiateFilterConfig

javax.servlet.FilterConfig instantiateFilterConfig(javax.servlet.FilterConfig cfg)
Given an application server's FilterConfig object, create a wrapper.
Parameters:
cfg - an application server FilterConfig object
Returns:
the FilterConfig object to provide to the application

instantiateServletConfig

javax.servlet.ServletConfig instantiateServletConfig(javax.servlet.ServletConfig cfg)
Given an application server's ServletConfig object, create a wrapper.
Parameters:
cfg - an application server ServletConfig object
Returns:
the ServletConfig object to provide to the application

instantiateHttpServletRequest

javax.servlet.http.HttpServletRequest instantiateHttpServletRequest(javax.servlet.http.HttpServletRequest req,
                                                                    javax.servlet.http.HttpServletResponse res,
                                                                    java.lang.String sSessionId,
                                                                    boolean fCookie,
                                                                    boolean fUrl)
Create an HttpServletRequest wrapper.
Parameters:
req - the app server's request object
res - the app server's response object
sSessionId - the session ID (if any) that came with the request
fCookie - if the session ID came from a cookie
fUrl - if the session ID came from the url
Returns:
an HttpServletRequest object to provide to the application

instantiateHttpServletResponse

javax.servlet.http.HttpServletResponse instantiateHttpServletResponse(javax.servlet.http.HttpServletRequest req,
                                                                      javax.servlet.http.HttpServletResponse res)
Create an HttpServletResponse wrapper.
Parameters:
req - the wrapped request object
res - the app server's response object
Returns:
an HttpServletResponse object to provide to the application

instantiateHttpSession

javax.servlet.http.HttpSession instantiateHttpSession(HttpSessionCollection collection)
Create a new HttpSession object.
Parameters:
collection - the HttpSessionCollection that manages the session models
Returns:
an HttpSession object

instantiateHttpSession

javax.servlet.http.HttpSession instantiateHttpSession(HttpSessionCollection collection,
                                                      java.lang.String sId)
Create an HttpSession object for an existing session ID.
Parameters:
collection - the HttpSessionCollection that manages the session models
sId - the session ID
Returns:
an HttpSession object

Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.