public class HttpRequest extends Object
Modifier and Type | Method and Description |
---|---|
String |
body()
HTTP request body
|
Map<String,String> |
headers()
HTTP request headers
|
String |
headerValue(String headerName) |
HttpMethod |
httpMethod()
|
URL |
url()
HTTP request url
|
public String headerValue(String headerName)
headerName
- Name of HTTP header namepublic HttpMethod httpMethod()
public URL url()
public String body()
Copyright © 2013–2019. All rights reserved.