Package org.atmosphere.gwt20.client
Class AtmosphereResponseImpl
- java.lang.Object
-
- com.google.gwt.core.client.JavaScriptObject
-
- org.atmosphere.gwt20.client.AtmosphereResponseImpl
-
- All Implemented Interfaces:
AtmosphereResponse
public final class AtmosphereResponseImpl extends com.google.gwt.core.client.JavaScriptObject implements AtmosphereResponse
- Author:
- jotec
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAtmosphereResponseImpl.State
-
Constructor Summary
Constructors Modifier Constructor Description protectedAtmosphereResponseImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetHeader(java.lang.String name)<T> java.util.List<T>getMessages()java.lang.StringgetReasonPhrase()java.lang.StringgetResponseBody()AtmosphereResponseImpl.StategetState()intgetStatus()See com.google.gwt.http.client.Response for status codesAtmosphereRequestConfig.TransportgetTransport()voidsetMessageObject(java.lang.Object message)
-
-
-
Method Detail
-
getStatus
public int getStatus()
Description copied from interface:AtmosphereResponseSee com.google.gwt.http.client.Response for status codes- Specified by:
getStatusin interfaceAtmosphereResponse- Returns:
-
getReasonPhrase
public java.lang.String getReasonPhrase()
- Specified by:
getReasonPhrasein interfaceAtmosphereResponse
-
getMessages
public <T> java.util.List<T> getMessages()
- Specified by:
getMessagesin interfaceAtmosphereResponse
-
getResponseBody
public java.lang.String getResponseBody()
- Specified by:
getResponseBodyin interfaceAtmosphereResponse
-
getHeader
public java.lang.String getHeader(java.lang.String name)
- Specified by:
getHeaderin interfaceAtmosphereResponse
-
getState
public AtmosphereResponseImpl.State getState()
- Specified by:
getStatein interfaceAtmosphereResponse
-
getTransport
public AtmosphereRequestConfig.Transport getTransport()
- Specified by:
getTransportin interfaceAtmosphereResponse
-
setMessageObject
public void setMessageObject(java.lang.Object message)
- Specified by:
setMessageObjectin interfaceAtmosphereResponse
-
-