Class AtmospherePushConnection.AtmosphereResponse

    • Constructor Detail

      • AtmosphereResponse

        protected AtmosphereResponse()
        JavaScriptObject constructor.
    • Method Detail

      • getStatusCode

        public final int getStatusCode()
        Gets the response status code.
        Returns:
        the response status code.
      • getResponseBody

        public final String getResponseBody()
        Gets the response text.
        Returns:
        the response body.
      • getState

        public final String getState()
        Gets the Atmosphere reported state.

        The state can be at least messageReceived, error, opening, messagePublished, re-connecting, closedByClient, re-opening, fail-to-reconnect, unsubscribe, closed

        Returns:
        the state reported by Atmosphere
      • getTransport

        public final String getTransport()
        Gets the transport reported by Atmosphere.
        Returns:
        the transport