public class PushHandler extends Object
UI/ AtmospherePushConnection| Constructor and Description |
|---|
PushHandler(VaadinServletService service) |
| Modifier and Type | Method and Description |
|---|---|
int |
getLongPollingSuspendTimeout()
Gets the timeout used for suspend calls when using long polling.
|
void |
setLongPollingSuspendTimeout(int longPollingSuspendTimeout)
Sets the timeout used for suspend calls when using long polling.
|
protected void |
suspend(org.atmosphere.cpr.AtmosphereResource resource)
Suspends the given resource
|
public PushHandler(VaadinServletService service)
protected void suspend(org.atmosphere.cpr.AtmosphereResource resource)
resource - the resource to suspendpublic void setLongPollingSuspendTimeout(int longPollingSuspendTimeout)
suspendTimeout - the timeout to use for suspended AtmosphereResourcespublic int getLongPollingSuspendTimeout()
Copyright © 2022 Vaadin Ltd. All rights reserved.