Modifier and Type | Method and Description |
---|---|
NottableString |
NottableStringDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser jsonParser,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
Modifier and Type | Method and Description |
---|---|
static String |
NottableStringToJavaSerializer.serializeNottableString(NottableString nottableString) |
Modifier and Type | Method and Description |
---|---|
NottableString |
HttpRequestDTO.getMethod() |
NottableString |
KeyToMultiValueDTO.getName() |
NottableString |
KeyAndValueDTO.getName() |
NottableString |
HttpRequestDTO.getPath() |
NottableString |
KeyAndValueDTO.getValue() |
Modifier and Type | Method and Description |
---|---|
List<NottableString> |
KeyToMultiValueDTO.getValues() |
Modifier and Type | Method and Description |
---|---|
HttpRequestDTO |
HttpRequestDTO.setMethod(NottableString method) |
HttpRequestDTO |
HttpRequestDTO.setPath(NottableString path) |
Modifier and Type | Method and Description |
---|---|
void |
NottableStringSerializer.serialize(NottableString nottableString,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
Modifier and Type | Method and Description |
---|---|
NottableString |
CaseInsensitiveRegexMultiMap.get(Object key) |
NottableString |
CaseInsensitiveRegexHashMap.get(Object key) |
NottableString |
CaseInsensitiveRegexMultiMap.put(NottableString key,
NottableString value) |
NottableString |
CaseInsensitiveRegexHashMap.put(NottableString key,
NottableString value) |
NottableString |
CaseInsensitiveRegexMultiMap.put(String key,
String value) |
NottableString |
CaseInsensitiveRegexHashMap.put(String key,
String value) |
NottableString |
CaseInsensitiveRegexMultiMap.remove(Object key) |
NottableString |
CaseInsensitiveRegexHashMap.remove(Object key) |
Modifier and Type | Method and Description |
---|---|
static Map.Entry<NottableString,NottableString> |
CaseInsensitiveRegexMultiMap.entry(String key,
String value) |
static Map.Entry<NottableString,NottableString> |
CaseInsensitiveRegexMultiMap.entry(String key,
String value) |
List<Map.Entry<NottableString,NottableString>> |
CaseInsensitiveRegexMultiMap.entryList() |
List<Map.Entry<NottableString,NottableString>> |
CaseInsensitiveRegexMultiMap.entryList() |
Set<Map.Entry<NottableString,NottableString>> |
CaseInsensitiveRegexMultiMap.entrySet() |
Set<Map.Entry<NottableString,NottableString>> |
CaseInsensitiveRegexMultiMap.entrySet() |
List<NottableString> |
CaseInsensitiveRegexMultiMap.getAll(NottableString key) |
List<NottableString> |
CaseInsensitiveRegexMultiMap.getAll(String key) |
Set<NottableString> |
CaseInsensitiveRegexMultiMap.keySet() |
List<NottableString> |
CaseInsensitiveRegexMultiMap.put(NottableString key,
List<NottableString> values) |
List<NottableString> |
CaseInsensitiveRegexMultiMap.put(String key,
List<String> values) |
List<NottableString> |
CaseInsensitiveRegexMultiMap.removeAll(NottableString key) |
List<NottableString> |
CaseInsensitiveRegexMultiMap.removeAll(String key) |
Collection<NottableString> |
CaseInsensitiveRegexMultiMap.values() |
Modifier and Type | Method and Description |
---|---|
boolean |
CaseInsensitiveRegexMultiMap.containsKeyValue(NottableString key,
NottableString value) |
boolean |
CaseInsensitiveRegexHashMap.containsKeyValue(NottableString key,
NottableString value) |
List<NottableString> |
CaseInsensitiveRegexMultiMap.getAll(NottableString key) |
static CaseInsensitiveRegexHashMap |
CaseInsensitiveRegexHashMap.hashMap(NottableString[]... keyAndValues) |
static CaseInsensitiveRegexMultiMap |
CaseInsensitiveRegexMultiMap.multiMap(NottableString[]... keyAndValues) |
List<NottableString> |
CaseInsensitiveRegexMultiMap.put(NottableString key,
List<NottableString> values) |
NottableString |
CaseInsensitiveRegexMultiMap.put(NottableString key,
NottableString value) |
NottableString |
CaseInsensitiveRegexHashMap.put(NottableString key,
NottableString value) |
List<NottableString> |
CaseInsensitiveRegexMultiMap.removeAll(NottableString key) |
Modifier and Type | Method and Description |
---|---|
List<NottableString> |
CaseInsensitiveRegexMultiMap.put(NottableString key,
List<NottableString> values) |
void |
CaseInsensitiveRegexMultiMap.putAll(Map<? extends NottableString,? extends NottableString> map) |
void |
CaseInsensitiveRegexMultiMap.putAll(Map<? extends NottableString,? extends NottableString> map) |
Modifier and Type | Method and Description |
---|---|
NottableString |
XmlStringMatcher.normaliseXmlNottableString(NottableString input) |
Modifier and Type | Method and Description |
---|---|
boolean |
RegexStringMatcher.matches(HttpRequest context,
NottableString matched) |
boolean |
XmlStringMatcher.matches(HttpRequest context,
NottableString matched) |
boolean |
ExactStringMatcher.matches(HttpRequest context,
NottableString matched) |
boolean |
SubStringMatcher.matches(HttpRequest context,
NottableString matched) |
static boolean |
RegexStringMatcher.matches(NottableString matcher,
NottableString matched,
boolean ignoreCase) |
NottableString |
XmlStringMatcher.normaliseXmlNottableString(NottableString input) |
Constructor and Description |
---|
ExactStringMatcher(MockServerLogger mockServerLogger,
NottableString matcher) |
RegexStringMatcher(MockServerLogger mockServerLogger,
NottableString matcher) |
SubStringMatcher(MockServerLogger mockServerLogger,
NottableString matcher) |
XmlStringMatcher(MockServerLogger mockServerLogger,
NottableString matcher) |
Modifier and Type | Method and Description |
---|---|
NottableString |
NottableString.capitalize() |
NottableString |
HttpRequest.getMethod() |
NottableString |
KeyToMultiValue.getName() |
NottableString |
KeyAndValue.getName() |
NottableString |
HttpRequest.getPath() |
NottableString |
KeyAndValue.getValue() |
NottableString |
NottableString.lowercase() |
static NottableString |
NottableString.not(String value) |
static NottableString |
NottableString.string(String value) |
static NottableString |
NottableString.string(String value,
Boolean not) |
Modifier and Type | Method and Description |
---|---|
static List<NottableString> |
NottableString.deserializeNottableStrings(List<String> strings) |
static List<NottableString> |
NottableString.deserializeNottableStrings(String... strings) |
List<NottableString> |
KeyToMultiValue.getValues() |
static List<NottableString> |
NottableString.strings(Collection<String> values) |
static List<NottableString> |
NottableString.strings(String... values) |
Modifier and Type | Method and Description |
---|---|
void |
KeyToMultiValue.addValue(NottableString value) |
void |
KeyToMultiValue.addValues(NottableString... values) |
Header |
Headers.build(NottableString name,
List<NottableString> values) |
abstract T |
KeysToMultiValues.build(NottableString name,
List<NottableString> values) |
Parameter |
Parameters.build(NottableString name,
List<NottableString> values) |
Cookie |
Cookies.build(NottableString name,
NottableString value) |
abstract T |
KeysAndValues.build(NottableString name,
NottableString value) |
boolean |
KeysToMultiValues.containsEntry(NottableString name,
NottableString value) |
static Cookie |
Cookie.cookie(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 Parameter |
Parameter.param(NottableString name,
Collection<NottableString> value) |
static Parameter |
Parameter.param(NottableString name,
NottableString... value) |
static Parameter |
Parameter.param(NottableString name,
NottableString... value) |
K |
KeysToMultiValues.remove(NottableString name) |
HttpRequest |
HttpRequest.removeHeader(NottableString name) |
HttpResponse |
HttpResponse.removeHeader(NottableString name) |
static String |
NottableString.serialiseNottableString(NottableString nottableString) |
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/6/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/6/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) |
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/6/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/6/docs/api/java/util/regex/Pattern.html)
|
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 here
regex values are also supported such as not(".*_path"), see
http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html for full details of the supported regex syntax
|
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/6/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/6/docs/api/java/util/regex/Pattern.html)
|
Modifier and Type | Method and Description |
---|---|
void |
KeyToMultiValue.addNottableValues(List<NottableString> values) |
Header |
Headers.build(NottableString name,
List<NottableString> values) |
abstract T |
KeysToMultiValues.build(NottableString name,
List<NottableString> values) |
Parameter |
Parameters.build(NottableString name,
List<NottableString> values) |
static Header |
Header.header(NottableString name,
Collection<NottableString> value) |
static Parameter |
Parameter.param(NottableString name,
Collection<NottableString> value) |
static List<String> |
NottableString.serialiseNottableString(List<NottableString> nottableStrings) |
K |
KeysToMultiValues.withEntry(NottableString name,
List<NottableString> values) |
Constructor and Description |
---|
Cookie(NottableString name,
NottableString value) |
Header(NottableString name,
Collection<NottableString> value) |
Header(NottableString name,
NottableString... value) |
Header(NottableString name,
NottableString... value) |
KeyAndValue(NottableString name,
NottableString value) |
KeyToMultiValue(NottableString name,
Collection<NottableString> values) |
KeyToMultiValue(NottableString name,
NottableString... values) |
KeyToMultiValue(NottableString name,
NottableString... values) |
Parameter(NottableString name,
Collection<NottableString> value) |
Parameter(NottableString name,
NottableString... value) |
Parameter(NottableString name,
NottableString... value) |
Constructor and Description |
---|
Header(NottableString name,
Collection<NottableString> value) |
KeyToMultiValue(NottableString name,
Collection<NottableString> values) |
Parameter(NottableString name,
Collection<NottableString> value) |
Copyright © 2018. All rights reserved.