public class Http extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Http.Response |
| Modifier and Type | Method and Description |
|---|---|
Match |
config(Map<String,Object> config) |
Match |
config(String key,
String value) |
Http.Response |
delete() |
static Http |
forUrl(LogAppender appender,
String url) |
static Http |
forUrl(ScenarioContext context,
String url) |
Http.Response |
get() |
Http |
header(String name,
String value) |
Http |
path(String... paths) |
Http.Response |
post(byte[] bytes) |
Http.Response |
post(Json json) |
Http.Response |
post(Map<String,Object> body) |
Http.Response |
post(ScriptValue body) |
Http.Response |
post(String body) |
Http |
url(String url) |
public final String urlBase
public Http.Response get()
public Http.Response post(String body)
public Http.Response post(byte[] bytes)
public Http.Response post(Map<String,Object> body)
public Http.Response post(ScriptValue body)
public Http.Response post(Json json)
public Http.Response delete()
public static Http forUrl(LogAppender appender, String url)
public static Http forUrl(ScenarioContext context, String url)
Copyright © 2020. All rights reserved.