Package com.realobjects.pdfreactor
Class Configuration.Cookie
java.lang.Object
com.realobjects.pdfreactor.Configuration.Cookie
- Enclosing class:
Configuration
An object containing cookie data.
-
Method Summary
Modifier and TypeMethodDescriptionThe domain attribute of the cookie.The name of the cookie.The path attribute of the cookie.The secure attribute of the cookie.The value of the cookie.
-
Method Details
-
setName
The name of the cookie. This property must be set or the cookie is considered invalid.
- Returns:
- The current
Configuration.Cookie
instance.
-
setValue
The value of the cookie. This property must be set or the cookie is considered invalid.
- Returns:
- The current
Configuration.Cookie
instance.
-
setDomain
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
The path attribute of the cookie. If
null
, the cookie is sent to any path.- Returns:
- The current
Configuration.Cookie
instance.
-
setSecure
The secure attribute of the cookie. The default value is
false
.- Returns:
- The current
Configuration.Cookie
instance.
-