public class HttpRequest extends Object
| Constructor and Description |
|---|
HttpRequest(String url) |
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
addBodyParam(String key,
String value) |
Map<String,String> |
getBodyParams() |
String |
getContentType() |
String |
getMethod() |
String |
getUrl() |
HttpRequest |
post() |
HttpRequest |
setContentType(String contentType) |
HttpRequest |
setMethod(String method) |
HttpRequest |
setUrl(String url) |
public HttpRequest(String url)
public HttpRequest post()
public HttpRequest addBodyParam(String key, String value)
public String getContentType()
public HttpRequest setContentType(String contentType)
public String getMethod()
public HttpRequest setMethod(String method)
public String getUrl()
public HttpRequest setUrl(String url)
Copyright © Sep 2013–2019 Mike Hardy. All rights reserved.