org.atmosphere.wasync
Interface Request

All Known Implementing Classes:
AtmosphereRequest, DefaultRequest

public interface Request

Define a request for Socket. This class cannot be instantiated. Instead, use the RequestBuilder

Author:
Jeanfrancois Arcand

Nested Class Summary
static class Request.METHOD
           
static class Request.TRANSPORT
           
 
Method Summary
 List<Decoder<?,?>> decoders()
          The list of Decoder to use before the request is sent.
 List<Encoder<?,?>> encoders()
          The list of Encoder to use before the request is sent.
 FunctionResolver functionResolver()
          The FunctionResolver associated with that request.
 Map<String,Collection<String>> headers()
          Return the list of headers
 Request.METHOD method()
          The method
 Map<String,List<String>> queryString()
          Return the list of query params
 List<Request.TRANSPORT> transport()
          The list of transports to try
 String uri()
          The targetted URI
 

Method Detail

transport

List<Request.TRANSPORT> transport()
The list of transports to try

Returns:
a Request.TRANSPORT

method

Request.METHOD method()
The method

Returns:
a Request.METHOD

headers

Map<String,Collection<String>> headers()
Return the list of headers

Returns:
a Map of headers

queryString

Map<String,List<String>> queryString()
Return the list of query params

Returns:
a Map of headers

encoders

List<Encoder<?,?>> encoders()
The list of Encoder to use before the request is sent.

Returns:
The list of Encoder

decoders

List<Decoder<?,?>> decoders()
The list of Decoder to use before the request is sent.

Returns:
The list of Decoder

uri

String uri()
The targetted URI

Returns:
the targetted URI

functionResolver

FunctionResolver functionResolver()
The FunctionResolver associated with that request.

Returns:
The FunctionResolver


Copyright © 2013. All Rights Reserved.