public class Request extends Object
| Constructor and Description |
|---|
Request() |
| Modifier and Type | Method and Description |
|---|---|
void |
addHeader(String key,
String value) |
void |
addQueryParam(String key,
String value) |
void |
clearBaseUri() |
void |
clearBody() |
void |
clearEndpoint() |
void |
clearHeaders() |
void |
clearMethod() |
void |
clearQueryParams() |
String |
getBaseUri() |
String |
getBody() |
String |
getEndpoint() |
Map<String,String> |
getHeaders() |
Method |
getMethod() |
Map<String,String> |
getQueryParams() |
String |
removeHeader(String key) |
String |
removeQueryParam(String key) |
void |
reset()
Place the object into an empty state.
|
void |
setBaseUri(String baseUri) |
void |
setBody(String body) |
void |
setEndpoint(String endpoint) |
void |
setMethod(Method method) |
public void reset()
public void setMethod(Method method)
public void setBaseUri(String baseUri)
public void setEndpoint(String endpoint)
public void setBody(String body)
public Method getMethod()
public String getBaseUri()
public String getEndpoint()
public String getBody()
public void clearMethod()
public void clearBaseUri()
public void clearEndpoint()
public void clearBody()
public void clearQueryParams()
public void clearHeaders()
Copyright © 2020. All rights reserved.