Class Cookies
java.lang.Object
org.springframework.cloud.contract.spec.internal.Cookies
Represents a set of http cookies.
- Since:
- 1.2.5
- Author:
- Alex Xandra Albert Sim
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConverts the headers into their stub side representations and returns as a map of String key => Object value.Converts the headers into their stub side representations and returns as a map of String key => Object value.voidvoidbooleanvoidexecuteForEachCookie(Consumer<Cookie> consumer) inthashCode()voidsetEntries(Set<Cookie> entries) toString()
-
Constructor Details
-
Cookies
public Cookies()
-
-
Method Details
-
cookie
-
cookie
-
executeForEachCookie
-
matching
-
equals
-
hashCode
public int hashCode() -
toString
-
asStubSideMap
Converts the headers into their stub side representations and returns as a map of String key => Object value.- Returns:
- converted map
-
asTestSideMap
Converts the headers into their stub side representations and returns as a map of String key => Object value.- Returns:
- converted map
-
getEntries
-
setEntries
-