Class HttpClientRequestCookie

java.lang.Object
org.forgerock.http.client.request.HttpClientRequestCookie

public class HttpClientRequestCookie extends Object
Models a cookie which can be added to a HttpClientRequest. Only used internally to the HttpClientRequest, SimpleHttpClientRequest and ChfHttpClient classes. Needs to be public as ChfHttpClient is not in this package.
Since:
12.0.0
  • Constructor Details

    • HttpClientRequestCookie

      protected HttpClientRequestCookie(String domain, String field, String value)
  • Method Details

    • 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.