org.atmosphere.wasync.impl
Class AtmosphereRequest.AtmosphereRequestBuilder
java.lang.Object
org.atmosphere.wasync.RequestBuilder<AtmosphereRequest.AtmosphereRequestBuilder>
org.atmosphere.wasync.impl.AtmosphereRequest.AtmosphereRequestBuilder
- Enclosing class:
- AtmosphereRequest
public static class AtmosphereRequest.AtmosphereRequestBuilder
- extends RequestBuilder<AtmosphereRequest.AtmosphereRequestBuilder>
| Methods inherited from class org.atmosphere.wasync.RequestBuilder |
decoder, decoders, encoder, encoders, header, headers, method, method, queryString, queryString, resolver, resolver, transports, uri, uri |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AtmosphereRequest.AtmosphereRequestBuilder
public AtmosphereRequest.AtmosphereRequestBuilder()
transport
public AtmosphereRequest.AtmosphereRequestBuilder transport(Request.TRANSPORT t)
- Description copied from class:
RequestBuilder
- The
Request.TRANSPORT to use. This method can be invoked several time and the library will loop over the list
until one Request.TRANSPORT succeed.
- Overrides:
transport in class RequestBuilder<AtmosphereRequest.AtmosphereRequestBuilder>
- Returns:
- this
cache
public AtmosphereRequest.AtmosphereRequestBuilder cache(AtmosphereRequest.CACHE c)
trackMessageLength
public AtmosphereRequest.AtmosphereRequestBuilder trackMessageLength(boolean trackMessageLength)
trackMessageLengthDelimiter
public AtmosphereRequest.AtmosphereRequestBuilder trackMessageLengthDelimiter(String trackMessageLengthDelimiter)
build
public AtmosphereRequest build()
- Specified by:
build in class RequestBuilder<AtmosphereRequest.AtmosphereRequestBuilder>
Copyright © 2013. All Rights Reserved.