Class HttpClientRequestCookie
- java.lang.Object
-
- org.forgerock.http.client.request.HttpClientRequestCookie
-
public class HttpClientRequestCookie extends Object
Models a cookie which can be added to aHttpClientRequest. Only used internally to theHttpClientRequest,SimpleHttpClientRequestandChfHttpClientclasses. Needs to be public asChfHttpClientis not in this package.- Since:
- 12.0.0
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHttpClientRequestCookie(String domain, String field, String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDomain()Get the domain for which the cookie was set.StringgetField()Get the field of the cookie.StringgetValue()Get the value of the cookie.
-
-
-
Method Detail
-
getDomain
public String getDomain()
Get the domain for which the cookie was set.- Returns:
- The domain for which the cookie was set.
-
getField
public String getField()
Get the field of the cookie.- Returns:
- The field of the cookie.
-
getValue
public String getValue()
Get the value of the cookie.- Returns:
- The value of the cookie.
-
-