public class CmisCookieManager extends Object implements Serializable
| Constructor and Description |
|---|
CmisCookieManager()
Constructs a new cookie manager.
|
CmisCookieManager(String sessionId)
Constructs a new cookie manager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Removes all cookies.
|
Map<String,List<String>> |
get(String url,
Map<String,List<String>> requestHeaders)
Searches and gets all cookies in the cache by the specified URL in the
request header.
|
CmisCookieStoreImpl |
getCookieStore()
Gets current cookie store.
|
void |
put(String url,
Map<String,List<String>> responseHeaders)
Sets cookies according to URL and responseHeaders
|
public CmisCookieManager()
public CmisCookieManager(String sessionId)
public Map<String,List<String>> get(String url, Map<String,List<String>> requestHeaders)
url - the specified URL to search forrequestHeaders - a list of request headerspublic void put(String url, Map<String,List<String>> responseHeaders)
url - the specified URLresponseHeaders - a list of request headerspublic void clear()
public CmisCookieStoreImpl getCookieStore()
Copyright © 2009–2016 The Apache Software Foundation. All rights reserved.