Class Cookie
- java.lang.Object
-
- org.springframework.cloud.contract.spec.internal.DslProperty
-
- org.springframework.cloud.contract.spec.internal.Cookie
-
- All Implemented Interfaces:
Serializable
public class Cookie extends DslProperty
Represents a http cookie.- Since:
- 1.2.5
- Author:
- Alex Xandra Albert Sim
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Cookie(String key, Object value)Cookie(String key, DslProperty dslProperty)Cookie(String key, MatchingStrategy value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Cookiebuild(String key, Object value)booleanequals(Object o)StringgetKey()inthashCode()voidsetKey(String key)StringtoString()-
Methods inherited from class org.springframework.cloud.contract.spec.internal.DslProperty
getClientValue, getServerValue, isSingleValue
-
-
-
-
Constructor Detail
-
Cookie
public Cookie(String key, DslProperty dslProperty)
-
Cookie
public Cookie(String key, MatchingStrategy value)
-
-
Method Detail
-
getKey
public String getKey()
-
setKey
public void setKey(String key)
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classDslProperty
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDslProperty
-
toString
public String toString()
- Overrides:
toStringin classDslProperty
-
-