public class HttpRequest extends Object
| Constructor and Description |
|---|
HttpRequest() |
| Modifier and Type | Method and Description |
|---|---|
void |
addHeader(String name,
String value) |
byte[] |
getBody() |
Map<String,String> |
getHeaders() |
String |
getMethod() |
String |
getPath() |
String |
getQuery() |
String |
getRequestUri() |
void |
setBody(byte[] body) |
void |
setHeaders(Map<String,String> headers) |
void |
setMethod(String method) |
void |
setPath(String path) |
void |
setQuery(String query) |
public String getPath()
public void setPath(String path)
public String getQuery()
public void setQuery(String query)
public String getMethod()
public void setMethod(String method)
public byte[] getBody()
public void setBody(byte[] body)
public String getRequestUri()
Copyright © 2020. All rights reserved.