Package com.mercadopago.net
Class MPRequest.MPRequestBuilder
- java.lang.Object
-
- com.mercadopago.net.MPRequest.MPRequestBuilder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MPRequest.MPRequestBuilder
accessToken(String accessToken)
MPRequest
build()
MPRequest.MPRequestBuilder
connectionRequestTimeout(int connectionRequestTimeout)
MPRequest.MPRequestBuilder
connectionTimeout(int connectionTimeout)
MPRequest.MPRequestBuilder
headers(Map<String,String> headers)
MPRequest.MPRequestBuilder
method(HttpMethod method)
MPRequest.MPRequestBuilder
payload(com.google.gson.JsonObject payload)
MPRequest.MPRequestBuilder
queryParams(Map<String,Object> queryParams)
MPRequest.MPRequestBuilder
socketTimeout(int socketTimeout)
String
toString()
MPRequest.MPRequestBuilder
uri(String uri)
-
-
-
Method Detail
-
uri
public MPRequest.MPRequestBuilder uri(String uri)
- Returns:
this
.
-
method
public MPRequest.MPRequestBuilder method(HttpMethod method)
- Returns:
this
.
-
headers
public MPRequest.MPRequestBuilder headers(Map<String,String> headers)
- Returns:
this
.
-
payload
public MPRequest.MPRequestBuilder payload(com.google.gson.JsonObject payload)
- Returns:
this
.
-
queryParams
public MPRequest.MPRequestBuilder queryParams(Map<String,Object> queryParams)
- Returns:
this
.
-
accessToken
public MPRequest.MPRequestBuilder accessToken(String accessToken)
- Returns:
this
.
-
connectionTimeout
public MPRequest.MPRequestBuilder connectionTimeout(int connectionTimeout)
- Returns:
this
.
-
connectionRequestTimeout
public MPRequest.MPRequestBuilder connectionRequestTimeout(int connectionRequestTimeout)
- Returns:
this
.
-
socketTimeout
public MPRequest.MPRequestBuilder socketTimeout(int socketTimeout)
- Returns:
this
.
-
build
public MPRequest build()
-
-