Oracle9i Business Components for Java API Reference
Oracle9i Jdeveloper (9.0.4)
B10391-01


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
static java.lang.String HTTP_SERVLET_REQUEST
           

 

Constructor Summary
HttpSessionCookieFactory()
           

 

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

 

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
See Also:
Constant Field Values
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 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()

Oracle9i Business Components for Java API Reference
Oracle9i Jdeveloper (9.0.4)
B10391-01


 

Copyright © 1997, 2003, Oracle. All rights reserved.