Class Configuration.Cookie

java.lang.Object
com.realobjects.pdfreactor.Configuration.Cookie
Enclosing class:
Configuration

public static final class Configuration.Cookie extends Object

An object containing cookie data.

  • Method Details

    • setName

      public Configuration.Cookie setName(String name)

      The name of the cookie. This property must be set or the cookie is considered invalid.

      Returns:
      The current Configuration.Cookie instance.
    • setValue

      public Configuration.Cookie setValue(String value)

      The value of the cookie. This property must be set or the cookie is considered invalid.

      Returns:
      The current Configuration.Cookie instance.
    • setDomain

      public Configuration.Cookie setDomain(String domain)

      The domain attribute of the cookie. If null, the cookie is sent to any domain. Specifying no domain is discouraged since cross-domain cookies are not allowed according to the specification, but PDFreactor supports this behavior anyway to remain backwards compatible.

      Returns:
      The current Configuration.Cookie instance.
    • setPath

      public Configuration.Cookie setPath(String path)

      The path attribute of the cookie. If null, the cookie is sent to any path.

      Returns:
      The current Configuration.Cookie instance.
    • setSecure

      public Configuration.Cookie setSecure(Boolean secure)

      The secure attribute of the cookie. The default value is false.

      Returns:
      The current Configuration.Cookie instance.