public class HttpRequest extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DELETE |
static String |
GET |
static String |
POST |
static String |
PUT |
| Constructor and Description |
|---|
HttpRequest(String url,
Map<String,String> headers,
String content,
String method) |
| Modifier and Type | Method and Description |
|---|---|
void |
addHeader(String name,
String value) |
String |
getContent() |
Map<String,String> |
getHeaders() |
String |
getMethod() |
org.apache.http.client.methods.HttpUriRequest |
getRealRequest() |
String |
getUrl() |
void |
setMethod(String method) |
public static final String GET
public static final String POST
public static final String DELETE
public static final String PUT
Copyright © 2017–2021 The Apache Software Foundation. All rights reserved.