org.jboss.errai.bus.server
Class HttpSessionProvider
java.lang.Object
org.jboss.errai.bus.server.HttpSessionProvider
- All Implemented Interfaces:
- SessionProvider<javax.servlet.http.HttpSession>
public class HttpSessionProvider
- extends Object
- implements SessionProvider<javax.servlet.http.HttpSession>
The SessionProvider for HTTP-based queue sessions.
Method Summary |
QueueSession |
createOrGetSession(javax.servlet.http.HttpSession externSessRef,
String remoteQueueID)
Looks up or creates the QueueSession that identifies a communication channel with a specific queue in a
specific remote Errai Bus. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpSessionProvider
public HttpSessionProvider()
createOrGetSession
public QueueSession createOrGetSession(javax.servlet.http.HttpSession externSessRef,
String remoteQueueID)
- Description copied from interface:
SessionProvider
- Looks up or creates the
QueueSession
that identifies a communication channel with a specific queue in a
specific remote Errai Bus.
- Specified by:
createOrGetSession
in interface SessionProvider<javax.servlet.http.HttpSession>
- Parameters:
externSessRef
- the session object (for example, an HttpSession
) that identifies a communications link to a remote
Errai Bus.remoteQueueID
- the ID of the queue in the remote bus
- Returns:
- the QueueSession that identifies the communication link to the given remote queue in the given remote bus.
If none already exists, one is created.
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.