public interface CookieHandler
Modifier and Type | Method and Description |
---|---|
void |
addCookieFromHeader(CookieManager cookieManager,
boolean checkCookies,
java.lang.String cookieHeader,
java.net.URL url)
Add cookie to CookieManager from cookieHeader and URL
|
java.lang.String |
getCookieHeaderForURL(CollectionProperty cookiesCP,
java.net.URL url,
boolean allowVariableCookie)
Find cookies applicable to the given URL and build the Cookie header from
them.
|
java.lang.String |
getDefaultPolicy() |
java.lang.String[] |
getPolicies() |
void addCookieFromHeader(CookieManager cookieManager, boolean checkCookies, java.lang.String cookieHeader, java.net.URL url)
cookieManager
- CookieManager on which cookies are addedcheckCookies
- boolean to indicate if cookies must be validated against speccookieHeader
- String cookie Headerurl
- URLjava.lang.String getCookieHeaderForURL(CollectionProperty cookiesCP, java.net.URL url, boolean allowVariableCookie)
cookiesCP
- CollectionProperty
of Cookie
url
- URL of the request to which the returned header will be added.allowVariableCookie
- flag whether to allow jmeter variables in cookie valuesjava.lang.String getDefaultPolicy()
java.lang.String[] getPolicies()
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.