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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTTP_SERVLET_REQUEST
public static final java.lang.String HTTP_SERVLET_REQUEST
- See Also:
- Constant Field Values
HTTP_SESSION
public static final java.lang.String HTTP_SESSION
- See Also:
- Constant Field Values
HttpSessionCookieFactory
public HttpSessionCookieFactory()
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 may 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
- Parameters:
applicationId
- an identifier which may be used to uniquely
identify this cookie within the context of a session
sessionId
- an option identifier which may be used to uniquely
identify this cookie across sessions. If a sessionId is not specified
then the HttpServletRequest above will be used to acquire the
sessionId from the servlet request's session.
pool
- the applicationPool instance which will be used to acquire
ApplicationModule instances for this SessionCookie.
properties
- an optional properties object which may be used
to pass additional creation properties to the SessionCookieFactory.
getSessionCookieClass
public java.lang.Class getSessionCookieClass()
Copyright © 1997, 2004, Oracle. All rights reserved.