Class Cookie
- java.lang.Object
-
- com.github.tomakehurst.wiremock.http.MultiValue
-
- com.github.tomakehurst.wiremock.http.Cookie
-
public class Cookie extends MultiValue
-
-
Field Summary
-
Fields inherited from class com.github.tomakehurst.wiremock.http.MultiValue
key, values
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Cookie
absent()
static Cookie
cookie(ListOrSingle<java.lang.String> values)
static Cookie
cookie(java.lang.String value)
java.lang.String
getValue()
ListOrSingle<java.lang.String>
getValues()
boolean
isAbsent()
java.lang.String
toString()
-
Methods inherited from class com.github.tomakehurst.wiremock.http.MultiValue
containsValue, firstValue, getKey, hasValueMatching, isPresent, isSingleValued, key, values
-
-
-
-
Method Detail
-
cookie
public static Cookie cookie(ListOrSingle<java.lang.String> values)
-
cookie
public static Cookie cookie(java.lang.String value)
-
absent
public static Cookie absent()
-
isAbsent
public boolean isAbsent()
-
getValues
public ListOrSingle<java.lang.String> getValues()
- Overrides:
getValues
in classMultiValue
-
getValue
public java.lang.String getValue()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classMultiValue
-
-