public class SpringHttpClient extends Object
| Constructor and Description |
|---|
SpringHttpClient() |
SpringHttpClient(org.springframework.web.client.RestTemplate template) |
| Modifier and Type | Method and Description |
|---|---|
static void |
check(com.loadcoder.load.scenario.ResultModel<org.springframework.http.ResponseEntity<String>> r,
int expectedHttpCode) |
org.springframework.http.ResponseEntity<String> |
http(String url) |
org.springframework.http.ResponseEntity<String> |
http(String url,
org.springframework.http.HttpHeaders headers) |
org.springframework.http.ResponseEntity<String> |
http(String url,
org.springframework.http.HttpMethod httpMethod,
org.springframework.http.HttpHeaders headers,
byte[] body) |
org.springframework.http.ResponseEntity<String> |
http(String url,
org.springframework.http.HttpMethod httpMethod,
org.springframework.http.HttpHeaders headers,
String body) |
public SpringHttpClient()
public SpringHttpClient(org.springframework.web.client.RestTemplate template)
public org.springframework.http.ResponseEntity<String> http(String url, org.springframework.http.HttpHeaders headers)
public org.springframework.http.ResponseEntity<String> http(String url, org.springframework.http.HttpMethod httpMethod, org.springframework.http.HttpHeaders headers, String body)
public org.springframework.http.ResponseEntity<String> http(String url, org.springframework.http.HttpMethod httpMethod, org.springframework.http.HttpHeaders headers, byte[] body)
public static void check(com.loadcoder.load.scenario.ResultModel<org.springframework.http.ResponseEntity<String>> r, int expectedHttpCode)
Copyright © 2021. All rights reserved.