public static class AtmospherePushConnection.AtmosphereResponse extends AtmospherePushConnection.AbstractJSO
| Modifier | Constructor and Description |
|---|---|
protected |
AtmosphereResponse()
JavaScriptObject constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getResponseBody()
Gets the response text.
|
String |
getState()
Gets the Atmosphere reported state.
|
int |
getStatusCode()
Gets the response status code.
|
String |
getTransport()
Gets the transport reported by Atmosphere.
|
getBooleanValue, getIntValue, getStringValue, setBooleanValue, setIntValue, setStringValuepublic final int getStatusCode()
public final String getResponseBody()
public final String getState()
The state can be at least messageReceived, error, opening, messagePublished, re-connecting, closedByClient, re-opening, fail-to-reconnect, unsubscribe, closed
public final String getTransport()
Copyright © 2000–2021 Vaadin Ltd. All rights reserved.