Package org.mockserver.model
Class ParameterBody
-
public class ParameterBody extends BodyWithContentType<List<Parameter>>
- Author:
- jamesdbloom
-
-
Field Summary
Fields Modifier and Type Field Description static com.google.common.net.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
-
-
-
-
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
-
-