interface XInteractionCookieHandling in module com::sun::star::ucb::

(Global Index)

Syntax

interface XInteractionCookieHandling : com::sun::star::task::XInteractionContinuation ;

Description

An interaction continuation handing back some cookie request handling policy.

This continuation is typically used in conjunction with HandleCookiesRequest .

Method Summary

setGeneralPolicy Set a general policy to hand back.

setSpecificPolicy Set a policy to hand back for a specific cookie.

Method Details



setGeneralPolicy

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.

setSpecificPolicy

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 .
Top of Page