|
Syntax
- void setGeneralPolicy
(
- com::sun::star::ucb::CookiePolicy Policy );
Description
Set a general policy to hand back.
This method should be called before select().
Parameter Policy
-
Some policy how to handle cookies.
Syntax
- void setSpecificPolicy
(
- com::sun::star::ucb::Cookie ConfirmCookie,
- boolean Accept );
Description
Set a policy to hand back for a specific cookie.
This method should be called before select().
Parameter ConfirmCookie
-
A cookie that sould come from the sequence of
cookies offered by the HandleCookiesRequest and that
should have a policy of CookiePolicy::CONFIRM .
Parameter Accept
-
If true
, set the policy for the cookie to
CookiePolicy::ACCEPT ; otherwise, set it to
CookiePolicy::IGNORE .
|