| Package | Description |
|---|---|
| org.atmosphere.annotation | |
| org.atmosphere.container | |
| org.atmosphere.cpr |
| Modifier and Type | Method and Description |
|---|---|
void |
AsyncSupportServiceProcessor.handle(AtmosphereFramework framework,
java.lang.Class<AsyncSupport<AtmosphereResource>> annotatedClass) |
| Modifier and Type | Class and Description |
|---|---|
class |
BlockingIOCometSupport
This class is used when the
AtmosphereFramework fails to autodetect
the Servlet Container we are running on. |
class |
JSR356AsyncSupport |
class |
NettyCometSupport
Netty's Framework
AsyncSupport and framework running on top of it, like vert.x and Play! |
class |
Servlet30CometSupport
This class is used when the
AtmosphereFramework detect the container
detect Servlet 3.0 Asynch API. |
| Modifier and Type | Method and Description |
|---|---|
AsyncSupport<AtmosphereResourceImpl> |
NettyCometSupport.complete(AtmosphereResourceImpl r) |
AsyncSupport<AtmosphereResourceImpl> |
Servlet30CometSupport.complete(AtmosphereResourceImpl r) |
AsyncSupport<AtmosphereResourceImpl> |
BlockingIOCometSupport.complete(AtmosphereResourceImpl r) |
| Modifier and Type | Class and Description |
|---|---|
class |
AsynchronousProcessor
Base class which implement the semantics of suspending and resuming of a Comet/WebSocket Request.
|
| Modifier and Type | Field and Description |
|---|---|
protected AsyncSupport |
AtmosphereFramework.asyncSupport |
protected AsyncSupport<AtmosphereResourceImpl> |
AtmosphereResourceImpl.asyncSupport |
| Modifier and Type | Method and Description |
|---|---|
AsyncSupport<AtmosphereResourceImpl> |
AsynchronousProcessor.complete(AtmosphereResourceImpl r) |
AsyncSupport |
AsyncSupport.complete(E r)
Complete and close the connection associated with an implementation of
AtmosphereResource |
AsyncSupport |
DefaultAsyncSupportResolver.defaultCometSupport(boolean preferBlocking)
This method is used to determine the default AsyncSupport if all else fails.
|
AsyncSupport |
AtmosphereFramework.getAsyncSupport()
Return the current
AsyncSupport. |
AsyncSupport |
AtmosphereFramework.getCometSupport()
Deprecated.
Use getAsyncSupport
|
AsyncSupport |
DefaultAsyncSupportResolver.newCometSupport(java.lang.Class<? extends AsyncSupport> targetClass)
Given a Class of something that extends AsyncSupport, it tries to return an instance of that class.
|
AsyncSupport |
DefaultAsyncSupportResolver.newCometSupport(java.lang.String targetClassFQN) |
AsyncSupport |
DefaultAsyncSupportResolver.resolve(boolean useNativeIfPossible,
boolean defaultToBlocking)
This method is the general interface to the outside world.
|
AsyncSupport |
AsyncSupportResolver.resolve(boolean useNativeIfPossible,
boolean defaultToBlocking,
boolean useWebsocketIfPossible) |
AsyncSupport |
DefaultAsyncSupportResolver.resolve(boolean useNativeIfPossible,
boolean defaultToBlocking,
boolean useServlet30Async) |
protected AsyncSupport |
DefaultAsyncSupportResolver.resolveMultipleNativeSupportConflict(java.util.List<java.lang.Class<? extends AsyncSupport>> available)
This method is called if there are more than one potential native container in scope.
|
protected AsyncSupport |
DefaultAsyncSupportResolver.resolveNativeCometSupport(java.util.List<java.lang.Class<? extends AsyncSupport>> available)
This method is called to determine which native comet support to the used.
|
AsyncSupport |
DefaultAsyncSupportResolver.resolveWebSocket(java.util.List<java.lang.Class<? extends AsyncSupport>> available) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.Class<? extends AsyncSupport>> |
DefaultAsyncSupportResolver.detectContainersPresent()
Returns a list of comet support by containers available on the classpath.
|
java.util.List<java.lang.Class<? extends AsyncSupport>> |
DefaultAsyncSupportResolver.detectWebSocketPresent(boolean useNativeIfPossible,
boolean useServlet30Async) |
| Modifier and Type | Method and Description |
|---|---|
AsyncSupport |
DefaultAsyncSupportResolver.newCometSupport(java.lang.Class<? extends AsyncSupport> targetClass)
Given a Class of something that extends AsyncSupport, it tries to return an instance of that class.
|
protected AsyncSupport |
DefaultAsyncSupportResolver.resolveMultipleNativeSupportConflict(java.util.List<java.lang.Class<? extends AsyncSupport>> available)
This method is called if there are more than one potential native container in scope.
|
protected AsyncSupport |
DefaultAsyncSupportResolver.resolveNativeCometSupport(java.util.List<java.lang.Class<? extends AsyncSupport>> available)
This method is called to determine which native comet support to the used.
|
AsyncSupport |
DefaultAsyncSupportResolver.resolveWebSocket(java.util.List<java.lang.Class<? extends AsyncSupport>> available) |
| Constructor and Description |
|---|
AtmosphereResourceImpl(AtmosphereConfig config,
Broadcaster broadcaster,
AtmosphereRequest req,
AtmosphereResponse response,
AsyncSupport<AtmosphereResourceImpl> asyncSupport,
AtmosphereHandler atmosphereHandler)
Deprecated.
|
Copyright © 2022. All Rights Reserved.