@Deprecated public class HC3CookieHandler extends Object implements CookieHandler
| Modifier and Type | Field and Description |
|---|---|
static String[] |
AVAILABLE_POLICIES
Deprecated.
|
| Constructor and Description |
|---|
HC3CookieHandler(String policy)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCookieFromHeader(CookieManager cookieManager,
boolean checkCookies,
String cookieHeader,
URL url)
Deprecated.
Add cookie to CookieManager from cookieHeader and URL
|
String |
getCookieHeaderForURL(CollectionProperty cookiesCP,
URL url,
boolean allowVariableCookie)
Deprecated.
Find cookies applicable to the given URL and build the Cookie header from
them.
|
String |
getDefaultPolicy()
Deprecated.
|
public static final String[] AVAILABLE_POLICIES
public HC3CookieHandler(String policy)
policy - cookie policy to which to conform (see
CookiePolicy.getCookieSpec(String)public String getCookieHeaderForURL(CollectionProperty cookiesCP, URL url, boolean allowVariableCookie)
getCookieHeaderForURL in interface CookieHandlerurl - URL of the request to which the returned header will be added.cookiesCP - CollectionProperty of CookieallowVariableCookie - flag whether to allow jmeter variables in cookie valuespublic void addCookieFromHeader(CookieManager cookieManager, boolean checkCookies, String cookieHeader, URL url)
addCookieFromHeader in interface CookieHandlercookieManager - CookieManager on which cookies are addedcheckCookies - boolean to indicate if cookies must be validated against speccookieHeader - String cookie Headerurl - URLpublic String getDefaultPolicy()
getDefaultPolicy in interface CookieHandlerCopyright © 1998-2016 Apache Software Foundation. All Rights Reserved.