| Package | Description |
|---|---|
| org.jivesoftware.openfire | |
| org.jivesoftware.openfire.http |
Provides classes for XEP-0124: Bidirectional-streams Over Synchronous HTTP (BOSH).
|
| Modifier and Type | Method and Description |
|---|---|
HttpSession |
SessionManager.createClientHttpSession(StreamID id,
HttpConnection connection,
Locale language)
Creates a new
ClientSession with the specified streamID. |
| Modifier and Type | Method and Description |
|---|---|
HttpSession |
HttpSessionManager.createSession(HttpBindBody body,
HttpConnection connection)
Creates an HTTP binding session which will allow a user to exchange packets with Openfire.
|
HttpSession |
HttpConnection.getSession()
Returns the session that this connection belongs to.
|
HttpSession |
HttpSessionManager.getSession(String streamID)
Returns the session related to a stream id.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
SessionListener.connectionClosed(javax.servlet.AsyncContext context,
HttpSession session,
HttpConnection connection)
A connection was closed.
|
default void |
SessionListener.connectionClosed(HttpSession session,
HttpConnection connection)
Deprecated.
|
default void |
SessionListener.connectionOpened(javax.servlet.AsyncContext context,
HttpSession session,
HttpConnection connection)
A connection was opened.
|
default void |
SessionListener.connectionOpened(HttpSession session,
HttpConnection connection)
Deprecated.
|
static void |
SessionEventDispatcher.dispatchEvent(HttpSession session,
SessionEventDispatcher.EventType eventType,
HttpConnection connection,
javax.servlet.AsyncContext context)
Dispatches an event related to a particular BOSH session to all registered listeners.
|
default void |
SessionListener.postSessionCreated(javax.servlet.AsyncContext context,
HttpSession session)
Called when an
HttpSession has been created for a given http-bind web request |
static void |
HttpBindServlet.respond(HttpSession session,
javax.servlet.AsyncContext context,
String content,
boolean async) |
default void |
SessionListener.sessionClosed(HttpSession session)
A session ended.
|
Copyright © 2003–2020 Ignite Realtime. All rights reserved.