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(boolean controlPlaneMatcher,
NottableString[]... keyAndValues) |
static CaseInsensitiveRegexMultiMap |
CaseInsensitiveRegexMultiMap.multiMap(boolean controlPlaneMatcher,
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 |
---|---|
boolean |
RegexStringMatcher.matches(MatchDifference context,
NottableString matched) |
boolean |
XmlStringMatcher.matches(MatchDifference context,
NottableString matched) |
boolean |
ExactStringMatcher.matches(MatchDifference context,
NottableString matched) |
boolean |
SubStringMatcher.matches(MatchDifference context,
NottableString matched) |
boolean |
RegexStringMatcher.matches(NottableString matcher,
NottableString matched,
boolean ignoreCase) |
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
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) |
Collection<NottableString> |
KeysToMultiValues.getValues(NottableString key) |
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) |
T |
HttpObject.removeHeader(NottableString name) |
HttpRequest |
HttpRequest.removeHeader(NottableString name) |
HttpResponse |
HttpResponse.removeHeader(NottableString name) |
static String |
NottableString.serialiseNottableString(NottableString nottableString) |
T |
HttpObject.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/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) |
T |
HttpObject.withHeader(NottableString name,
NottableString... values) |
T |
HttpObject.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/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)
|
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 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 |
---|---|
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) |
static Header |
Header.header(NottableString name,
Collection<NottableString> value) |
static Parameter |
Parameter.param(NottableString name,
Collection<NottableString> value) |
static List<String> |
NottableString.serialiseNottableString(Collection<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) |
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) |
Parameter(NottableString name,
Collection<NottableString> value) |
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.serialize(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) |
Copyright © 2020. All rights reserved.