Uses of Class
org.mockserver.model.NottableString
-
-
Uses of NottableString in org.mockserver.collections
Methods in org.mockserver.collections that return NottableString Modifier and Type Method Description NottableString
CaseInsensitiveRegexHashMap. get(Object key)
NottableString
CaseInsensitiveRegexMultiMap. get(Object key)
NottableString
CaseInsensitiveRegexHashMap. put(String key, String value)
NottableString
CaseInsensitiveRegexHashMap. put(NottableString key, NottableString value)
NottableString
CaseInsensitiveRegexMultiMap. put(String key, String value)
NottableString
CaseInsensitiveRegexMultiMap. put(NottableString key, NottableString value)
NottableString
CaseInsensitiveRegexHashMap. remove(Object key)
NottableString
CaseInsensitiveRegexMultiMap. remove(Object key)
Methods in org.mockserver.collections that return types with arguments of type NottableString Modifier and Type Method 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(String key)
List<NottableString>
CaseInsensitiveRegexMultiMap. getAll(NottableString key)
Set<NottableString>
CaseInsensitiveRegexMultiMap. keySet()
List<NottableString>
CaseInsensitiveRegexMultiMap. put(String key, List<String> values)
List<NottableString>
CaseInsensitiveRegexMultiMap. put(NottableString key, List<NottableString> values)
List<NottableString>
CaseInsensitiveRegexMultiMap. removeAll(String key)
List<NottableString>
CaseInsensitiveRegexMultiMap. removeAll(NottableString key)
Collection<NottableString>
CaseInsensitiveRegexMultiMap. values()
Methods in org.mockserver.collections with parameters of type NottableString Modifier and Type Method Description boolean
CaseInsensitiveRegexHashMap. containsKeyValue(NottableString key, NottableString value)
boolean
CaseInsensitiveRegexMultiMap. 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)
NottableString
CaseInsensitiveRegexHashMap. put(NottableString key, NottableString value)
List<NottableString>
CaseInsensitiveRegexMultiMap. put(NottableString key, List<NottableString> values)
NottableString
CaseInsensitiveRegexMultiMap. put(NottableString key, NottableString value)
List<NottableString>
CaseInsensitiveRegexMultiMap. removeAll(NottableString key)
Method parameters in org.mockserver.collections with type arguments of type NottableString Modifier and Type Method 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)
-
Uses of NottableString in org.mockserver.matchers
Methods in org.mockserver.matchers that return NottableString Modifier and Type Method Description NottableString
XmlStringMatcher. normaliseXmlNottableString(NottableString input)
Methods in org.mockserver.matchers with parameters of type NottableString Modifier and Type Method Description boolean
ExactStringMatcher. matches(HttpRequest context, NottableString matched)
boolean
RegexStringMatcher. matches(HttpRequest context, NottableString matched)
boolean
RegexStringMatcher. matches(NottableString matcher, NottableString matched, boolean ignoreCase)
boolean
SubStringMatcher. matches(HttpRequest context, NottableString matched)
boolean
XmlStringMatcher. matches(HttpRequest context, NottableString matched)
NottableString
XmlStringMatcher. normaliseXmlNottableString(NottableString input)
-
Uses of NottableString in org.mockserver.model
Methods in org.mockserver.model that return NottableString Modifier and Type Method Description NottableString
HttpRequest. getMethod()
NottableString
KeyAndValue. getName()
NottableString
KeyToMultiValue. 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)
Methods in org.mockserver.model that return types with arguments of type NottableString Modifier and Type Method Description static List<NottableString>
NottableString. deserializeNottableStrings(String... strings)
static List<NottableString>
NottableString. deserializeNottableStrings(List<String> strings)
Map<NottableString,NottableString>
HttpResponse. getCookieMap()
Map<NottableString,NottableString>
HttpResponse. getCookieMap()
com.google.common.collect.Multimap<NottableString,NottableString>
HttpResponse. getHeaderMultimap()
com.google.common.collect.Multimap<NottableString,NottableString>
HttpResponse. getHeaderMultimap()
Map<NottableString,NottableString>
KeysAndValues. getMap()
Map<NottableString,NottableString>
KeysAndValues. getMap()
com.google.common.collect.Multimap<NottableString,NottableString>
KeysToMultiValues. getMultimap()
com.google.common.collect.Multimap<NottableString,NottableString>
KeysToMultiValues. getMultimap()
List<NottableString>
KeysToMultiValues. getValues(NottableString key)
List<NottableString>
KeyToMultiValue. getValues()
Set<NottableString>
KeysToMultiValues. keySet()
static List<NottableString>
NottableString. strings(String... values)
static List<NottableString>
NottableString. strings(Collection<String> values)
Methods in org.mockserver.model with parameters of type NottableString Modifier and Type Method Description void
KeyToMultiValue. addValues(NottableString... values)
Cookie
Cookies. build(NottableString name, NottableString value)
Header
Headers. build(NottableString name, Collection<NottableString> values)
abstract T
KeysAndValues. build(NottableString name, NottableString value)
abstract T
KeysToMultiValues. build(NottableString name, Collection<NottableString> values)
Parameter
Parameters. build(NottableString name, Collection<NottableString> values)
int
NottableString. compareTo(NottableString other)
static Cookie
Cookie. cookie(NottableString name, NottableString value)
List<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 Parameter
Parameter. param(NottableString name, Collection<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
KeysAndValues. withEntry(NottableString name, NottableString value)
K
KeysToMultiValues. withEntry(NottableString name, List<NottableString> values)
K
KeysToMultiValues. withEntry(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)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 existHttpRequest
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 syntaxHttpRequest
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)Method parameters in org.mockserver.model with type arguments of type NottableString Modifier and Type Method 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(List<NottableString> nottableStrings)
K
KeysToMultiValues. withEntry(NottableString name, List<NottableString> values)
Constructors in org.mockserver.model with parameters of type NottableString Constructor Description Cookie(NottableString name, NottableString value)
Header(NottableString name, Collection<NottableString> value)
Header(NottableString name, NottableString... value)
KeyAndValue(NottableString name, NottableString value)
Parameter(NottableString name, Collection<NottableString> value)
Parameter(NottableString name, NottableString... value)
Constructor parameters in org.mockserver.model with type arguments of type NottableString Constructor Description Header(NottableString name, Collection<NottableString> value)
Parameter(NottableString name, Collection<NottableString> value)
-
Uses of NottableString in org.mockserver.serialization.deserializers.string
Methods in org.mockserver.serialization.deserializers.string that return NottableString Modifier and Type Method Description NottableString
NottableStringDeserializer. deserialize(com.fasterxml.jackson.core.JsonParser jsonParser, com.fasterxml.jackson.databind.DeserializationContext ctxt)
-
Uses of NottableString in org.mockserver.serialization.java
Methods in org.mockserver.serialization.java with parameters of type NottableString Modifier and Type Method Description static String
NottableStringToJavaSerializer. serialize(NottableString nottableString)
-
Uses of NottableString in org.mockserver.serialization.model
Methods in org.mockserver.serialization.model that return NottableString Modifier and Type Method Description NottableString
HttpRequestDTO. getMethod()
NottableString
KeyAndValueDTO. getName()
NottableString
KeyToMultiValueDTO. getName()
NottableString
HttpRequestDTO. getPath()
NottableString
KeyAndValueDTO. getValue()
Methods in org.mockserver.serialization.model that return types with arguments of type NottableString Modifier and Type Method Description List<NottableString>
KeyToMultiValueDTO. getValues()
Methods in org.mockserver.serialization.model with parameters of type NottableString Modifier and Type Method Description HttpRequestDTO
HttpRequestDTO. setMethod(NottableString method)
HttpRequestDTO
HttpRequestDTO. setPath(NottableString path)
-
Uses of NottableString in org.mockserver.serialization.serializers.string
Methods in org.mockserver.serialization.serializers.string with parameters of type NottableString Modifier and Type Method Description void
NottableStringSerializer. serialize(NottableString nottableString, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider)
-