org.atmosphere.gwt20.client
Class AtmosphereRequestConfig
java.lang.Object
com.google.gwt.core.client.JavaScriptObject
org.atmosphere.gwt20.client.AtmosphereRequestConfig
- All Implemented Interfaces:
- RequestConfig
public final class AtmosphereRequestConfig
- extends com.google.gwt.core.client.JavaScriptObject
- implements RequestConfig
- Author:
- p.havelaar
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
AtmosphereRequestConfig
protected AtmosphereRequestConfig()
create
public static AtmosphereRequestConfig create(ClientSerializer serializer)
- use the same serializer for inbound and outbound
- Parameters:
serializer -
- Returns:
create
public static AtmosphereRequestConfig create(ClientSerializer inbound,
ClientSerializer outbound)
- specify a different serializer for inbound and outbound
- Parameters:
inbound - outbound -
- Returns:
setFlags
public void setFlags(AtmosphereRequestConfig.Flags... flags)
- Specified by:
setFlags in interface RequestConfig
clearFlags
public void clearFlags(AtmosphereRequestConfig.Flags... flags)
- Specified by:
clearFlags in interface RequestConfig
setHeader
public void setHeader(String name,
String value)
- Specified by:
setHeader in interface RequestConfig
setMaxReconnectOnClose
public void setMaxReconnectOnClose(int maxReconnectOnClose)
- Specified by:
setMaxReconnectOnClose in interface RequestConfig
setContentType
public void setContentType(String contentType)
- Specified by:
setContentType in interface RequestConfig
setUrl
public void setUrl(String url)
- Specified by:
setUrl in interface RequestConfig
setConnectTimeout
public void setConnectTimeout(int connectTimeout)
- Specified by:
setConnectTimeout in interface RequestConfig
setReconnectInterval
public void setReconnectInterval(int reconnectInterval)
- Specified by:
setReconnectInterval in interface RequestConfig
setTimeout
public void setTimeout(int timeout)
- Specified by:
setTimeout in interface RequestConfig
setLogLevel
public void setLogLevel(String logLevel)
- Specified by:
setLogLevel in interface RequestConfig
setMaxRequest
public void setMaxRequest(int maxRequest)
- Specified by:
setMaxRequest in interface RequestConfig
setMaxStreamingLength
public void setMaxStreamingLength(int maxStreamingLength)
- Specified by:
setMaxStreamingLength in interface RequestConfig
setMethod
public void setMethod(com.google.gwt.http.client.RequestBuilder.Method method)
- Specified by:
setMethod in interface RequestConfig
setFallbackMethod
public void setFallbackMethod(com.google.gwt.http.client.RequestBuilder.Method method)
- Specified by:
setFallbackMethod in interface RequestConfig
setTransport
public void setTransport(AtmosphereRequestConfig.Transport transport)
- Specified by:
setTransport in interface RequestConfig
setFallbackTransport
public void setFallbackTransport(AtmosphereRequestConfig.Transport transport)
- Specified by:
setFallbackTransport in interface RequestConfig
setOpenHandler
public void setOpenHandler(AtmosphereOpenHandler handler)
- Specified by:
setOpenHandler in interface RequestConfig
setReopenHandler
public void setReopenHandler(AtmosphereReopenHandler handler)
- Specified by:
setReopenHandler in interface RequestConfig
setCloseHandler
public void setCloseHandler(AtmosphereCloseHandler handler)
- Specified by:
setCloseHandler in interface RequestConfig
setClientTimeoutHandler
public void setClientTimeoutHandler(AtmosphereClientTimeoutHandler handler)
- Specified by:
setClientTimeoutHandler in interface RequestConfig
setMessageHandler
public void setMessageHandler(AtmosphereMessageHandler handler)
- Specified by:
setMessageHandler in interface RequestConfig
setLocalMessageHandler
public void setLocalMessageHandler(AtmosphereMessageHandler handler)
- Specified by:
setLocalMessageHandler in interface RequestConfig
setErrorHandler
public void setErrorHandler(AtmosphereErrorHandler handler)
- Specified by:
setErrorHandler in interface RequestConfig
setReconnectHandler
public void setReconnectHandler(AtmosphereReconnectHandler handler)
- Specified by:
setReconnectHandler in interface RequestConfig
setFailureToReconnectHandler
public void setFailureToReconnectHandler(AtmosphereFailureToReconnectHandler handler)
- Specified by:
setFailureToReconnectHandler in interface RequestConfig
setMessagePublishedHandler
public void setMessagePublishedHandler(AtmosphereMessagePublishedHandler handler)
- Specified by:
setMessagePublishedHandler in interface RequestConfig
setTransportFailureHandler
public void setTransportFailureHandler(AtmosphereTransportFailureHandler handler)
- Specified by:
setTransportFailureHandler in interface RequestConfig
setOutboundSerializer
public void setOutboundSerializer(ClientSerializer serializer)
- Specified by:
setOutboundSerializer in interface RequestConfig
getOutboundSerializer
public ClientSerializer getOutboundSerializer()
- Specified by:
getOutboundSerializer in interface RequestConfig
Copyright © 2014. All Rights Reserved.