<html> <head> <title>Interface XInteractionCookieHandling</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="../../../../idl.css"> </head> <body> <div id="adc-idlref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="3"> <tr> <td class="navimain"><a href="../module-ix.html" class="navimain">Overview</a></td> <td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td> <td class="navimain"><a href="XInteractionCookieHandling-xref.html" class="navimain">Use</a></td> <td class="navimainnone">Devguide</td> <td class="navimain"><a href="../../../../index-files/index-1.html" class="navimain">Index</a></td> </tr> </table> <table class="navisub" border="0" cellpadding="0"> <tr> <td class="navisub"><a href="#MethodsSummary" class="navisub">Methods' Summary</a></td> <td class="navisub">Attributes' Summary</td> <td class="navisub"><a href="#MethodsDetails" class="navisub">Methods' Details</a></td> <td class="navisub">Attributes' Details</td> </tr> </table> <hr> <table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;"> <tr> <td><p class="namechain"><a href="../../../../module-ix.html" class="namechain">::</a> <a href="../../../module-ix.html" class="namechain">com</a> :: <a href="../../module-ix.html" class="namechain">sun</a> :: <a href="../module-ix.html" class="namechain">star</a> :: <a href="module-ix.html" class="namechain">ucb</a> :: </p> </td> </tr> <tr> <td class="title">interface XInteractionCookieHandling</td> </tr> <tr> <td><dl> <dt><b>Base Interfaces</b></dt> <dd><pre style="font-family:monospace;"><strong>XInteractionCookieHandling</strong> ┗ ::com::sun::star::<a href="../task/module-ix.html">task</a>::<a href="../task/XInteractionContinuation.html">XInteractionContinuation</a> </pre></dd> <dd><a name/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="crosstitle"> <tr> <td class="imsum_left">::com::sun::star::<a href="../task/module-ix.html">task</a>::<a href="../task/XInteractionContinuation.html">XInteractionContinuation</a></td> <td class="imsum_right"><dl> <dt>(referenced interface's summary:)</dt> <dd>Specifies a way of how to continue from an ::com::sun::star::<a href="../task/module-ix.html">task</a>::<a href="../task/XInteractionRequest.html">XInteractionRequest</a>. </dd> </dl> </td> </tr> </table> </dd> </dl> </td> </tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>An interaction continuation handing back some cookie request handling policy. </dd> <dd><p>This continuation is typically used in conjunction with <a href="HandleCookiesRequest.html">HandleCookiesRequest</a>. </dd> </dl> </td> </tr> </table> <hr> <a name="MethodsSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Methods' Summary</td> </tr> <tr> <td class="imsum_left"><a href="#setGeneralPolicy">setGeneralPolicy</a></td> <td class="imsum_right">Set a general policy to hand back. </td> </tr> <tr> <td class="imsum_left"><a href="#setSpecificPolicy">setSpecificPolicy</a></td> <td class="imsum_right">Set a policy to hand back for a specific cookie. </td> </tr> </table> <a name="MethodsDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle">Methods' Details</td> </tr> <tr> <td class="imdetail"><a name="setGeneralPolicy" class="membertitle">setGeneralPolicy</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">void</td> </tr> <tr> <td valign="top"><b>setGeneralPolicy</b>(</td> <td valign="top">[in] <a href="CookiePolicy.html">CookiePolicy</a></td> <td valign="bottom"> Policy );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>Set a general policy to hand back. </dd> <dd><p>This method should be called before select(). </dd> <dt><b>Parameter Policy</b></dt> <dd>Some policy how to handle cookies. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="setSpecificPolicy" class="membertitle">setSpecificPolicy</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">void</td> </tr> <tr> <td valign="top"><b>setSpecificPolicy</b>(</td> <td valign="top">[in] <a href="Cookie.html">Cookie</a></td> <td valign="bottom"> ConfirmCookie,</td> </tr> <tr> <td/><td valign="top">[in] boolean</td> <td valign="bottom"> Accept );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>Set a policy to hand back for a specific cookie. </dd> <dd><p>This method should be called before select(). </dd> <dt><b>Parameter ConfirmCookie</b></dt> <dd>A cookie that sould come from the sequence of cookies offered by the <a href="HandleCookiesRequest.html">HandleCookiesRequest</a> and that should have a policy of <a href="CookiePolicy.html">CookiePolicy</a>::<a href="CookiePolicy.html#CONFIRM">CONFIRM</a>. </dd> <dt><b>Parameter Accept</b></dt> <dd>If <b>true</b>, set the policy for the cookie to <a href="CookiePolicy.html">CookiePolicy</a>::<a href="CookiePolicy.html#ACCEPT">ACCEPT</a>; otherwise, set it to <a href="CookiePolicy.html">CookiePolicy</a>::<a href="CookiePolicy.html#IGNORE">IGNORE</a>. </dd> </dl> </td> </tr> </table> </td> </tr> </table> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.</p> </div> <!-- id="adc-idlref" --> </body> </html>