public class CookieStoredContext extends Object implements StoredContext
| Modifier and Type | Field and Description |
|---|---|
(package private) Map<String,Object> |
attachments |
(package private) List<com.ning.http.client.cookie.Cookie> |
cookies |
| Constructor and Description |
|---|
CookieStoredContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(ListenableRequestBuilder builder) |
void |
attach(String key,
Object value) |
Object |
getAttachedObject(String key) |
String |
getCookie(String key) |
void |
store(com.ning.http.client.HttpResponseHeaders headers) |
final List<com.ning.http.client.cookie.Cookie> cookies
public void store(com.ning.http.client.HttpResponseHeaders headers)
store in interface StoredContextpublic void apply(ListenableRequestBuilder builder)
apply in interface StoredContextpublic void attach(String key, Object value)
attach in interface StoredContextpublic Object getAttachedObject(String key)
getAttachedObject in interface StoredContextpublic String getCookie(String key)
getCookie in interface StoredContextCopyright © 2016. All rights reserved.