Package | Description |
---|---|
org.mockserver.codec | |
org.mockserver.model | |
org.mockserver.serialization.model |
Modifier and Type | Method and Description |
---|---|
io.netty.buffer.ByteBuf |
BodyDecoderEncoder.bodyToByteBuf(Body body,
String contentTypeHeader) |
io.netty.buffer.ByteBuf[] |
BodyDecoderEncoder.bodyToByteBuf(Body body,
String contentTypeHeader,
int chunkSize) |
void |
BodyServletDecoderEncoder.bodyToServletResponse(javax.servlet.http.HttpServletResponse httpServletResponse,
Body body,
String contentTypeHeader) |
Modifier and Type | Interface and Description |
---|---|
interface |
HttpMessage<T extends HttpMessage,B extends Body> |
Modifier and Type | Class and Description |
---|---|
class |
BinaryBody |
class |
BodyWithContentType<T> |
class |
JsonBody |
class |
JsonPathBody |
class |
JsonSchemaBody |
class |
LogEventBody |
class |
ParameterBody |
class |
RegexBody |
class |
StringBody |
class |
XmlBody |
class |
XmlSchemaBody |
class |
XPathBody |
Modifier and Type | Method and Description |
---|---|
Body |
HttpRequest.getBody() |
Body<T> |
Body.withOptional(Boolean optional) |
Modifier and Type | Method and Description |
---|---|
HttpRequest |
HttpRequest.withBody(Body body)
The body match rules on such as using one of the Body subclasses as follows:
|
Modifier and Type | Method and Description |
---|---|
abstract Body<?> |
BodyDTO.buildObject() |
Modifier and Type | Method and Description |
---|---|
static BodyDTO |
BodyDTO.createDTO(Body<?> body) |
Constructor and Description |
---|
BodyWithContentTypeDTO(Body.Type type,
Boolean not,
Body<?> body) |
Copyright © 2020. All rights reserved.