public class WebClientSessionFactory
extends java.lang.Object
| Modifier and Type | Method and Description | 
|---|---|
| void | cleanupDiscardedSessions()This method calls cleanup on all discarded WebClientSessions and clears the
 list of discarded WebClientSessions | 
| WebClientSession | createSession(javax.servlet.http.HttpServletRequest request,
             javax.servlet.http.HttpServletResponse response)Creates a new WebClientSession and returns it and also adds the WebClientSession to the WebClientSessionManager
 stored in the request's HttpSession(stored as a session attribute). | 
| static WebClientSessionFactory | getWebClientSessionFactory()Factory method that returns a reference to a WebClientFactory singleton object. | 
| boolean | hasAvailableSessions()Returns a boolean on whether or not the factory can create a new session. | 
| void | killSessions()Removes and closes all WebCientSessions. | 
| int | sessionCount()Returns the total number of WebClientSessions (valid or invalid) in the factory list. | 
public static WebClientSessionFactory getWebClientSessionFactory()
@TracePrimary public boolean hasAvailableSessions()
public WebClientSession createSession(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
request - response - MXExceptionpublic int sessionCount()
public void killSessions()
sessionId - public void cleanupDiscardedSessions()