public class Cookies extends Object
Constructor and Description |
---|
Cookies() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
asStubSideMap()
Converts the headers into their stub side representations and returns as a map of
String key => Object value.
|
Map<String,Object> |
asTestSideMap()
Converts the headers into their stub side representations and returns as a map of
String key => Object value.
|
void |
cookie(Map<String,Object> singleCookie) |
void |
cookie(String cookieKey,
Object cookieValue) |
boolean |
equals(Object o) |
void |
executeForEachCookie(Consumer<Cookie> consumer) |
Set<Cookie> |
getEntries() |
int |
hashCode() |
DslProperty |
matching(String value) |
void |
setEntries(Set<Cookie> entries) |
String |
toString() |
public DslProperty matching(String value)
public Map<String,Object> asStubSideMap()
public Map<String,Object> asTestSideMap()
Copyright © 2016–2019 Spring. All rights reserved.