| Package | Description |
|---|---|
| org.mockserver.model | |
| org.mockserver.serialization.model |
| Modifier and Type | Class and Description |
|---|---|
class |
BinaryBody |
class |
JsonBody |
class |
ParameterBody |
class |
StringBody |
class |
XmlBody |
| Modifier and Type | Method and Description |
|---|---|
BodyWithContentType |
HttpResponse.getBody() |
| Modifier and Type | Method and Description |
|---|---|
HttpResponse |
HttpResponse.withBody(BodyWithContentType body)
Set the body to return for example:
string body:
- exact(" a simple string body ");
or
- new StringBody(" |
| Modifier and Type | Method and Description |
|---|---|
abstract BodyWithContentType |
BodyWithContentTypeDTO.buildObject() |
| Modifier and Type | Method and Description |
|---|---|
static BodyWithContentTypeDTO |
BodyWithContentTypeDTO.createDTO(BodyWithContentType body) |
Copyright © 2018. All rights reserved.