public class BodyHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
toByteArray(File file) |
static Object |
toSerializedBody(Object object,
io.restassured.mapper.ObjectMapper objectMapper,
SpecificationConfig config,
io.restassured.http.Headers headers) |
static String |
toStringBody(Object object,
SpecificationConfig config,
io.restassured.http.Headers headers) |
public static String toStringBody(Object object, SpecificationConfig config, io.restassured.http.Headers headers)
public static Object toSerializedBody(Object object, io.restassured.mapper.ObjectMapper objectMapper, SpecificationConfig config, io.restassured.http.Headers headers)
public static byte[] toByteArray(File file)
Copyright © 2010–2023. All rights reserved.