Class HeaderHelper
java.lang.Object
io.restassured.module.spring.commons.HeaderHelper
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringbuildApplicationFormEncodedContentType(SpecificationConfig config, String baseContentType) static StringfindContentType(io.restassured.http.Headers headers, List<Object> multiParts, SpecificationConfig config) static StringgetRequestContentType(io.restassured.http.Headers requestHeaders) static io.restassured.http.Headersheaders(io.restassured.http.Headers requestHeaders, io.restassured.http.Headers headersToAdd, io.restassured.config.HeaderConfig headerConfig) static io.restassured.http.Headersheaders(io.restassured.http.Headers requestHeaders, String headerName, Object headerValue, SpecificationConfig config, Object... additionalHeaderValues) static io.restassured.http.Headersheaders(io.restassured.http.Headers requestHeaders, Map<String, ?> headers, SpecificationConfig config) static Object[]mapToArray(Map<String, ?> map)
-
Method Details
-
headers
public static io.restassured.http.Headers headers(io.restassured.http.Headers requestHeaders, Map<String, ?> headers, SpecificationConfig config) -
getRequestContentType
-
headers
public static io.restassured.http.Headers headers(io.restassured.http.Headers requestHeaders, io.restassured.http.Headers headersToAdd, io.restassured.config.HeaderConfig headerConfig) -
findContentType
public static String findContentType(io.restassured.http.Headers headers, List<Object> multiParts, SpecificationConfig config) -
buildApplicationFormEncodedContentType
public static String buildApplicationFormEncodedContentType(SpecificationConfig config, String baseContentType) -
mapToArray
-
headers
public static io.restassured.http.Headers headers(io.restassured.http.Headers requestHeaders, String headerName, Object headerValue, SpecificationConfig config, Object... additionalHeaderValues)
-