Package org.mockserver.model
Class ParameterBody
-
public class ParameterBody extends BodyWithContentType<List<Parameter>>
- Author:
- jamesdbloom
-
-
Field Summary
Fields Modifier and Type Field Description static MediaType
DEFAULT_CONTENT_TYPE
-
Fields inherited from class org.mockserver.model.BodyWithContentType
contentType
-
-
Constructor Summary
Constructors Constructor Description ParameterBody(List<Parameter> parameters)
ParameterBody(Parameter... parameters)
ParameterBody(Parameters parameters)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Parameters
getValue()
static ParameterBody
params(List<Parameter> parameters)
static ParameterBody
params(Parameter... parameters)
String
toString()
-
Methods inherited from class org.mockserver.model.BodyWithContentType
getCharset, getContentType
-
Methods inherited from class org.mockserver.model.Body
getRawBytes, getType
-
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
equals, fieldsExcludedFromEqualsAndHashCode, hashCode, key
-
-
-
-
Field Detail
-
DEFAULT_CONTENT_TYPE
public static final MediaType DEFAULT_CONTENT_TYPE
-
-
Constructor Detail
-
ParameterBody
public ParameterBody(Parameter... parameters)
-
ParameterBody
public ParameterBody(Parameters parameters)
-
-
Method Detail
-
params
public static ParameterBody params(Parameter... parameters)
-
params
public static ParameterBody params(List<Parameter> parameters)
-
getValue
public Parameters getValue()
-
toString
public String toString()
- Overrides:
toString
in classObjectWithJsonToString
-
-