|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.atmosphere.wasync.impl.DefaultRequest<T>
public class DefaultRequest<T extends RequestBuilder>
Default implementation of the Request
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.atmosphere.wasync.Request |
|---|
Request.METHOD, Request.TRANSPORT |
| Field Summary | |
|---|---|
protected T |
builder
|
| Constructor Summary | |
|---|---|
protected |
DefaultRequest(T builder)
|
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final T extends RequestBuilder builder
| Constructor Detail |
|---|
protected DefaultRequest(T builder)
| Method Detail |
|---|
public List<Request.TRANSPORT> transport()
transport in interface RequestRequest.TRANSPORTpublic Request.METHOD method()
method in interface RequestRequest.METHODpublic Map<String,Collection<String>> headers()
headers in interface Requestpublic Map<String,List<String>> queryString()
queryString in interface Requestpublic List<Encoder<?,?>> encoders()
Encoder to use before the request is sent.
encoders in interface RequestEncoderpublic List<Decoder<?,?>> decoders()
Decoder to use before the request is sent.
decoders in interface RequestDecoderpublic String uri()
uri in interface Requestpublic FunctionResolver functionResolver()
FunctionResolver associated with that request.
functionResolver in interface RequestFunctionResolver
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||