void |
KeyToMultiValue.addValues(NottableString... values) |
Header |
Headers.build(NottableString name,
Collection<NottableString> values) |
abstract T |
KeysToMultiValues.build(NottableString name,
Collection<NottableString> values) |
Parameter |
Parameters.build(NottableString name,
Collection<NottableString> values) |
Cookie |
Cookies.build(NottableString name,
NottableString value) |
abstract T |
KeysAndValues.build(NottableString name,
NottableString value) |
int |
NottableString.compareTo(NottableString other) |
static Cookie |
Cookie.cookie(NottableString name,
NottableString value) |
static Cookie |
Cookie.cookie(NottableString name,
String value) |
Collection<NottableString> |
KeysToMultiValues.getValues(NottableString key) |
boolean |
HttpRequest.hasPathParameter(NottableString name,
NottableString value) |
boolean |
HttpRequest.hasQueryStringParameter(NottableString name,
NottableString value) |
static Header |
Header.header(NottableString name,
Collection<NottableString> value) |
static Header |
Header.header(NottableString name,
NottableString... value) |
static Header |
Header.header(NottableString name,
NottableString... value) |
static Cookie |
Cookie.optionalCookie(String name,
NottableString value) |
static Parameter |
Parameter.param(NottableString name,
Collection<NottableString> value) |
static Parameter |
Parameter.param(NottableString name,
NottableString... value) |
static Parameter |
Parameter.param(NottableString name,
NottableString... value) |
static Parameter |
Parameter.param(NottableString name,
String... value) |
boolean |
KeysToMultiValues.remove(NottableString name) |
boolean |
KeysAndValues.remove(NottableString name) |
T |
HttpMessage.removeHeader(NottableString name) |
HttpRequest |
HttpRequest.removeHeader(NottableString name) |
HttpResponse |
HttpResponse.removeHeader(NottableString name) |
static Parameter |
Parameter.schemaParam(NottableString name,
String... values) |
static String |
NottableString.serialiseNottableString(NottableString nottableString) |
NottableString |
PathModifier.update(NottableString path) |
T |
HttpMessage.withCookie(NottableString name,
NottableString value) |
HttpRequest |
HttpRequest.withCookie(NottableString name,
NottableString value)
Adds one cookie to match on or to not match on using the NottableString, each NottableString can either be a positive matching value,
such as string("match"), or a value to not match on, such as not("do not match"), the string values passed to the NottableString
can be a plain string or a regex (for more details of the supported regex syntax see
http://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html)
|
HttpResponse |
HttpResponse.withCookie(NottableString name,
NottableString value)
Adds one cookie to match on or to not match on using the NottableString, each NottableString can either be a positive matching value,
such as string("match"), or a value to not match on, such as not("do not match"), the string values passed to the NottableString
can be a plain string or a regex (for more details of the supported regex syntax see
http://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html)
|
K |
KeysToMultiValues.withEntry(NottableString name,
List<NottableString> values) |
K |
KeysToMultiValues.withEntry(NottableString name,
NottableString... values) |
K |
KeysToMultiValues.withEntry(NottableString name,
NottableString... values) |
K |
KeysAndValues.withEntry(NottableString name,
NottableString value) |
T |
HttpMessage.withHeader(NottableString name,
NottableString... values) |
T |
HttpMessage.withHeader(NottableString name,
NottableString... values) |
HttpRequest |
HttpRequest.withHeader(NottableString name,
NottableString... values)
Adds one header to match on or to not match on using the NottableString, each NottableString can either be a positive matching value,
such as string("match"), or a value to not match on, such as not("do not match"), the string values passed to the NottableString
can also be a plain string or a regex (for more details of the supported regex syntax
see http://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html)
|
HttpRequest |
HttpRequest.withHeader(NottableString name,
NottableString... values)
Adds one header to match on or to not match on using the NottableString, each NottableString can either be a positive matching value,
such as string("match"), or a value to not match on, such as not("do not match"), the string values passed to the NottableString
can also be a plain string or a regex (for more details of the supported regex syntax
see http://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html)
|
HttpResponse |
HttpResponse.withHeader(NottableString name,
NottableString... values)
Add a header to return as a Header object, if a header with
the same name already exists this will NOT be modified but
two headers will exist
|
HttpResponse |
HttpResponse.withHeader(NottableString name,
NottableString... values)
Add a header to return as a Header object, if a header with
the same name already exists this will NOT be modified but
two headers will exist
|
HttpRequest |
HttpRequest.withMethod(NottableString method)
The HTTP method all method except a specific value using the "not" operator,
for example this allows operations such as not("GET")
|
HttpRequest |
HttpRequest.withPath(NottableString path)
The path to not match on for example not("/some_mocked_path") with match any path not equal to "/some_mocked_path",
the servlet context path is ignored for matching and should not be specified hereregex values are also supported
such as not(".*_path"), see http://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html for full details
of the supported regex syntax
|
HttpRequest |
HttpRequest.withPathParameter(NottableString name,
NottableString... values)
Adds one path parameter to match on or to not match on using the NottableString, each NottableString can either be a positive matching
value, such as string("match"), or a value to not match on, such as not("do not match"), the string values passed to the NottableString
can also be a plain string or a regex (for more details of the supported regex syntax
see http://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html)
|
HttpRequest |
HttpRequest.withPathParameter(NottableString name,
NottableString... values)
Adds one path parameter to match on or to not match on using the NottableString, each NottableString can either be a positive matching
value, such as string("match"), or a value to not match on, such as not("do not match"), the string values passed to the NottableString
can also be a plain string or a regex (for more details of the supported regex syntax
see http://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html)
|
HttpRequest |
HttpRequest.withQueryStringParameter(NottableString name,
NottableString... values)
Adds one query string parameter to match on or to not match on using the NottableString, each NottableString can either be a positive matching
value, such as string("match"), or a value to not match on, such as not("do not match"), the string values passed to the NottableString
can also be a plain string or a regex (for more details of the supported regex syntax
see http://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html)
|
HttpRequest |
HttpRequest.withQueryStringParameter(NottableString name,
NottableString... values)
Adds one query string parameter to match on or to not match on using the NottableString, each NottableString can either be a positive matching
value, such as string("match"), or a value to not match on, such as not("do not match"), the string values passed to the NottableString
can also be a plain string or a regex (for more details of the supported regex syntax
see http://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html)
|