public class HttpRequest
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.io.InputStream |
body |
static int |
DELETE |
static int |
GET |
java.util.Map<java.lang.String,java.lang.String> |
headers |
int |
method |
static int |
PATCH |
static int |
POST |
static int |
PUT |
java.lang.String |
url |
Constructor and Description |
---|
HttpRequest(int method,
java.lang.String url,
java.util.Map<java.lang.String,java.lang.String> headers,
java.io.InputStream body) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
public static final int GET
public static final int POST
public static final int PUT
public static final int DELETE
public static final int PATCH
public final int method
public final java.lang.String url
public final java.util.Map<java.lang.String,java.lang.String> headers
public java.io.InputStream body