126 lines
4.3 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div class="header">
<div class="subTitle">
compact1, compact2, compact3
</div>
<div class="subTitle">
javax.security.auth
</div>
<h2 class="title" title="Interface Refreshable">Interface Refreshable</h2>
</div><div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>
所有已知实现类:
</dt>
<dd>
<span><a href="../../../javax/security/auth/kerberos/KerberosTicket.html" title="javax.security.auth.kerberos中的类">KerberosTicket</a></span>
</dd>
</dl>
<hr/> <br/> <pre>public interface <span class="typeNameLabel">Refreshable</span></pre>
<div class="block">
<span>诸如凭证的对象可以可选地实现该接口以提供刷新自身的能力。</span>
<span>例如,具有特定时间限制的生命周期的证书可以实现该接口以允许呼叫者刷新其有效的时间段。</span>
</div>
<dl>
<dt>
<span class="seeLabel">另请参见:</span>
</dt>
<dd>
<span><a href="../../../javax/security/auth/Subject.html" title="javax.security.auth中的类"><code>Subject</code></a></span>
</dd>
</dl> </li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- --> </a> <h3>方法摘要</h3>
<table border="0" cellpadding="3" cellspacing="0" class="memberSummary" summary="Method Summary table, listing methods, and an explanation">
<caption>
<span class="activeTableTab" id="t0"><span>所有方法</span><span class="tabEnd"> </span></span>
<span class="tableTab" id="t2"><span><a href="javascript:show(2);">接口方法</a></span><span class="tabEnd"> </span></span>
<span class="tableTab" id="t3"><span><a href="javascript:show(4);">抽象方法</a></span><span class="tabEnd"> </span></span>
</caption>
<tbody>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor" id="i0">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/security/auth/Refreshable.html#isCurrent--">isCurrent</a></span>()</code>
<div class="block">
确定这个
<code>Object</code>是否是当前的。
</div> </td>
</tr>
<tr class="rowColor" id="i1">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/security/auth/Refreshable.html#refresh--">refresh</a></span>()</code>
<div class="block">
更新或延长此
<code>Object</code>的有效期。
</div> </td>
</tr>
</tbody>
</table> </li>
</ul> </li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- --> </a> <h3>方法详细信息</h3> <a name="isCurrent--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>isCurrent</h4> <pre>boolean isCurrent()</pre>
<div class="block">
确定这个
<code>Object</code>是否是当前的。
<p></p>
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
如果这个
<code>Object</code>是当前的则为true否则为false。
</dd>
</dl> </li>
</ul> <a name="refresh--">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>refresh</h4> <pre>void refresh()
throws <a href="../../../javax/security/auth/RefreshFailedException.html" title="class in javax.security.auth">RefreshFailedException</a></pre>
<div class="block">
更新或延长此
<code>Object</code>的有效期。
<p></p>
</div>
<dl>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../java/lang/SecurityException.html" title="class in java.lang">SecurityException</a></code> - 如果来电者没有权限更新或延长此
<code>Object</code>的有效期。
<p></p>
</dd>
<dd>
<code><a href="../../../javax/security/auth/RefreshFailedException.html" title="class in javax.security.auth">RefreshFailedException</a></code> - 如果刷新尝试失败。
</dd>
</dl> </li>
</ul> </li>
</ul> </li>
</ul>
</div>
</div>