org.atmosphere.gwt20.client
Class AtmosphereResponseImpl

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by 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
static class AtmosphereResponseImpl.State
           
 
Constructor Summary
protected AtmosphereResponseImpl()
           
 
Method Summary
 String getHeader(String name)
           
<T> List<T>
getMessages()
           
 String getReasonPhrase()
           
 String getResponseBody()
           
 AtmosphereResponseImpl.State getState()
           
 int getStatus()
          See com.google.gwt.http.client.Response for status codes
 AtmosphereRequestConfig.Transport getTransport()
           
 void setMessageObject(Object message)
           
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AtmosphereResponseImpl

protected AtmosphereResponseImpl()
Method Detail

getStatus

public int getStatus()
Description copied from interface: AtmosphereResponse
See com.google.gwt.http.client.Response for status codes

Specified by:
getStatus in interface AtmosphereResponse
Returns:

getReasonPhrase

public String getReasonPhrase()
Specified by:
getReasonPhrase in interface AtmosphereResponse

getMessages

public <T> List<T> getMessages()
Specified by:
getMessages in interface AtmosphereResponse

getResponseBody

public String getResponseBody()
Specified by:
getResponseBody in interface AtmosphereResponse

getHeader

public String getHeader(String name)
Specified by:
getHeader in interface AtmosphereResponse

getState

public AtmosphereResponseImpl.State getState()
Specified by:
getState in interface AtmosphereResponse

getTransport

public AtmosphereRequestConfig.Transport getTransport()
Specified by:
getTransport in interface AtmosphereResponse

setMessageObject

public void setMessageObject(Object message)
Specified by:
setMessageObject in interface AtmosphereResponse


Copyright © 2015. All Rights Reserved.