Package | Description |
---|---|
org.mockserver.model | |
org.mockserver.serialization.java | |
org.mockserver.serialization.model |
Modifier and Type | Method and Description |
---|---|
Parameter |
Parameters.build(NottableString name,
Collection<NottableString> values) |
static Parameter |
Parameter.param(NottableString name,
Collection<NottableString> value) |
static Parameter |
Parameter.param(NottableString name,
NottableString... value) |
static Parameter |
Parameter.param(String name,
Collection<String> value) |
static Parameter |
Parameter.param(String name,
String... value) |
Modifier and Type | Method and Description |
---|---|
List<Parameter> |
HttpRequest.getQueryStringParameterList() |
Modifier and Type | Method and Description |
---|---|
static ParameterBody |
ParameterBody.params(Parameter... parameters) |
HttpRequest |
HttpRequest.withQueryStringParameter(Parameter parameter)
Adds one query string parameter to match on as a Parameter object where the parameter values list can be a list of strings or regular expressions
(for more details of the supported regex syntax see http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html)
|
HttpRequest |
HttpRequest.withQueryStringParameters(Parameter... parameters)
The query string parameters to match on as a varags Parameter objects where the values or keys of each parameter can be either a string or a regex
(for more details of the supported regex syntax see http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html)
|
Modifier and Type | Method and Description |
---|---|
static ParameterBody |
ParameterBody.params(List<Parameter> parameters) |
HttpRequest |
HttpRequest.withQueryStringParameters(List<Parameter> parameters)
The query string parameters to match on as a list of Parameter objects where the values or keys of each parameter can be either a string or a regex
(for more details of the supported regex syntax see http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html)
|
Constructor and Description |
---|
ParameterBody(Parameter... parameters) |
Parameters(Parameter... parameters) |
Constructor and Description |
---|
ParameterBody(List<Parameter> parameters) |
Parameters(List<Parameter> parameters) |
Modifier and Type | Method and Description |
---|---|
String |
ParameterToJavaSerializer.serialize(int numberOfSpacesToIndent,
Parameter parameter) |
String |
ParameterToJavaSerializer.serializeAsJava(int numberOfSpacesToIndent,
Parameter... object) |
Modifier and Type | Method and Description |
---|---|
String |
ParameterToJavaSerializer.serializeAsJava(int numberOfSpacesToIndent,
List<Parameter> parameters) |
Modifier and Type | Method and Description |
---|---|
Parameter |
ParameterDTO.buildObject() |
Constructor and Description |
---|
ParameterDTO(Parameter parameter) |
Copyright © 2020. All rights reserved.