Business Components

oracle.jbo.http
Class HttpSessionCookieFactory

java.lang.Object
  |
  +--oracle.jbo.http.HttpSessionCookieFactory
All Implemented Interfaces:
SessionCookieFactory

public class HttpSessionCookieFactory
extends java.lang.Object
implements SessionCookieFactory

Factory for HttpSessionCookieImpl instances.


Field Summary
TypeField
static java.lang.String HTTP_SERVLET_REQUEST
           
 
Constructor Summary
HttpSessionCookieFactory()
           
 
Method Summary
TypeMethod
 SessionCookie createSessionCookie(java.lang.String applicationId, java.lang.String sessionId, ApplicationPool pool, java.util.Properties properties)
          Creates a HttpSessionCookieImpl instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HTTP_SERVLET_REQUEST

public static final java.lang.String HTTP_SERVLET_REQUEST
Constructor Detail

HttpSessionCookieFactory

public HttpSessionCookieFactory()
Method Detail

createSessionCookie

public SessionCookie createSessionCookie(java.lang.String applicationId,
                                         java.lang.String sessionId,
                                         ApplicationPool pool,
                                         java.util.Properties properties)
Creates a HttpSessionCookieImpl instance.

The properties object must contain an entry with an instance of an HttpServletRequest. The public static final, HTTP_SERVLET_REQUEST, should be used to add the request object to the properties.

The request object is used to retrieve the cookie value.

Specified by:
createSessionCookie in interface SessionCookieFactory
Following copied from interface: oracle.jbo.common.ampool.SessionCookieFactory
Parameters:
name - the name of the session cookie
value - the value of the session cookie
properties - a collection of session cookie properties

Business Components