public final class HttpClientTesting extends Object implements com.github.davidmoten.aws.lw.client.HttpClient
Modifier and Type | Field and Description |
---|---|
int |
connectTimeoutMs |
URL |
endpointUrl |
Map<String,String> |
headers |
String |
httpMethod |
static HttpClientTesting |
INSTANCE |
int |
readTimeoutMs |
byte[] |
requestBody |
static HttpClientTesting |
THROWING |
Modifier and Type | Method and Description |
---|---|
com.github.davidmoten.aws.lw.client.ResponseInputStream |
request(URL endpointUrl,
String httpMethod,
Map<String,String> headers,
byte[] requestBody,
int connectTimeoutMs,
int readTimeoutMs) |
String |
requestBodyString() |
String |
toString() |
public static final HttpClientTesting INSTANCE
public static final HttpClientTesting THROWING
public URL endpointUrl
public String httpMethod
public byte[] requestBody
public int connectTimeoutMs
public int readTimeoutMs
public com.github.davidmoten.aws.lw.client.ResponseInputStream request(URL endpointUrl, String httpMethod, Map<String,String> headers, byte[] requestBody, int connectTimeoutMs, int readTimeoutMs) throws IOException
request
in interface com.github.davidmoten.aws.lw.client.HttpClient
IOException
public String requestBodyString()
Copyright © 2021–2024. All rights reserved.