public class DefaultRequest<T extends RequestBuilder> extends Object implements Request
Request
Request.METHOD, Request.TRANSPORT
Modifier | Constructor and Description |
---|---|
protected |
DefaultRequest(T builder) |
Modifier and Type | Method and Description |
---|---|
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
|
protected final T extends RequestBuilder builder
protected DefaultRequest(T builder)
public List<Request.TRANSPORT> transport()
transport
in interface Request
Request.TRANSPORT
public Request.METHOD method()
method
in interface Request
Request.METHOD
public Map<String,Collection<String>> headers()
public Map<String,List<String>> queryString()
queryString
in interface Request
public List<Encoder<?,?>> encoders()
Encoder
to use before the request is sent.public List<Decoder<?,?>> decoders()
Decoder
to use before the request is sent.public String uri()
public FunctionResolver functionResolver()
FunctionResolver
associated with that request.functionResolver
in interface Request
FunctionResolver
Copyright © 2015. All Rights Reserved.