📄 wwwauthenticateheader.html
字号:
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the string value of the challenge information.</DL>
</DD>
</DL>
<HR>
<A NAME="setRealm(java.lang.String)"><!-- --></A><H3>
setRealm</H3>
<PRE>
void <B>setRealm</B>(java.lang.String realm)
throws java.text.ParseException</PRE>
<DL>
<DD>Sets the Realm of the WWWAuthenicateHeader to the realm parameter value. Realm strings MUST be globally unique. It is RECOMMENDED that a realm string contain a hostname or domain name. Realm strings SHOULD present a human-readable identifier that can be rendered to a user.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>realm</CODE> - the new Realm String of this WWWAuthenicateHeader.
<DT><B>Throws:</B>
<DD><CODE>java.text.ParseException</CODE> - which signals that an error has been reached unexpectedly while parsing the realm.</DL>
</DD>
</DL>
<HR>
<A NAME="getRealm()"><!-- --></A><H3>
getRealm</H3>
<PRE>
java.lang.String <B>getRealm</B>()</PRE>
<DL>
<DD>Returns the Realm value of this WWWAuthenicateHeader. This convenience method returns only the realm of the complete Challenge.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the String representing the Realm information, null if value is not set.</DL>
</DD>
</DL>
<HR>
<A NAME="setNonce(java.lang.String)"><!-- --></A><H3>
setNonce</H3>
<PRE>
void <B>setNonce</B>(java.lang.String nonce)
throws java.text.ParseException</PRE>
<DL>
<DD>Sets the Nonce of the WWWAuthenicateHeader to the nonce parameter value.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>nonce</CODE> - - the new nonce String of this WWWAuthenicateHeader.
<DT><B>Throws:</B>
<DD><CODE>java.text.ParseException</CODE> - which signals that an error has been reached unexpectedly while parsing the nonce value.</DL>
</DD>
</DL>
<HR>
<A NAME="getNonce()"><!-- --></A><H3>
getNonce</H3>
<PRE>
java.lang.String <B>getNonce</B>()</PRE>
<DL>
<DD>Returns the Nonce value of this WWWAuthenicateHeader.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the String representing the nonce information, null if value is not set.</DL>
</DD>
</DL>
<HR>
<A NAME="setURI(javax.sip.address.URI)"><!-- --></A><H3>
setURI</H3>
<PRE>
void <B>setURI</B>(<A HREF="../../../javax/sip/address/URI.html" title="interface in javax.sip.address">URI</A> uri)</PRE>
<DL>
<DD><B>Deprecated.</B> <I>Since v1.2. URI is not a supported parameter for this header.</I>
<P>
<DD>Sets the URI of the WWWAuthenicateHeader to the URI parameter value.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>uri</CODE> - - the new URI of this WWWAuthenicateHeader.</DL>
</DD>
</DL>
<HR>
<A NAME="getURI()"><!-- --></A><H3>
getURI</H3>
<PRE>
<A HREF="../../../javax/sip/address/URI.html" title="interface in javax.sip.address">URI</A> <B>getURI</B>()</PRE>
<DL>
<DD><B>Deprecated.</B> <I>Since v1.2. URI is not a supported parameter for this header. This method should return null.</I>
<P>
<DD>Returns the URI value of this WWWAuthenicateHeader, for example DigestURI.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the URI representing the URI information, null if value is not set.</DL>
</DD>
</DL>
<HR>
<A NAME="setAlgorithm(java.lang.String)"><!-- --></A><H3>
setAlgorithm</H3>
<PRE>
void <B>setAlgorithm</B>(java.lang.String algorithm)
throws java.text.ParseException</PRE>
<DL>
<DD>Sets the Algorithm of the WWWAuthenicateHeader to the new algorithm parameter value.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>algorithm</CODE> - - the new algorithm String of this WWWAuthenicateHeader.
<DT><B>Throws:</B>
<DD><CODE>java.text.ParseException</CODE> - which signals that an error has been reached unexpectedly while parsing the algorithm value.</DL>
</DD>
</DL>
<HR>
<A NAME="getAlgorithm()"><!-- --></A><H3>
getAlgorithm</H3>
<PRE>
java.lang.String <B>getAlgorithm</B>()</PRE>
<DL>
<DD>Returns the Algorithm value of this WWWAuthenicateHeader.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the String representing the Algorithm information, null if the value is not set.</DL>
</DD>
</DL>
<HR>
<A NAME="setQop(java.lang.String)"><!-- --></A><H3>
setQop</H3>
<PRE>
void <B>setQop</B>(java.lang.String qop)
throws java.text.ParseException</PRE>
<DL>
<DD>Sets the Qop value of the WWWAuthenicateHeader to the new qop parameter value.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>qop</CODE> - - the new Qop string of this WWWAuthenicateHeader.
<DT><B>Throws:</B>
<DD><CODE>java.text.ParseException</CODE> - which signals that an error has been reached unexpectedly while parsing the Qop value.</DL>
</DD>
</DL>
<HR>
<A NAME="getQop()"><!-- --></A><H3>
getQop</H3>
<PRE>
java.lang.String <B>getQop</B>()</PRE>
<DL>
<DD>Returns the Qop value of this WWWAuthenicateHeader.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the string representing the Qop information, null if the value is not set.</DL>
</DD>
</DL>
<HR>
<A NAME="setOpaque(java.lang.String)"><!-- --></A><H3>
setOpaque</H3>
<PRE>
void <B>setOpaque</B>(java.lang.String opaque)
throws java.text.ParseException</PRE>
<DL>
<DD>Sets the Opaque value of the WWWAuthenicateHeader to the new opaque parameter value.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>opaque</CODE> - - the new Opaque string of this WWWAuthenicateHeader.
<DT><B>Throws:</B>
<DD><CODE>java.text.ParseException</CODE> - which signals that an error has been reached unexpectedly while parsing the opaque value.</DL>
</DD>
</DL>
<HR>
<A NAME="getOpaque()"><!-- --></A><H3>
getOpaque</H3>
<PRE>
java.lang.String <B>getOpaque</B>()</PRE>
<DL>
<DD>Returns the Opaque value of this WWWAuthenicateHeader.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the String representing the Opaque information, null if the value is not set.</DL>
</DD>
</DL>
<HR>
<A NAME="setDomain(java.lang.String)"><!-- --></A><H3>
setDomain</H3>
<PRE>
void <B>setDomain</B>(java.lang.String domain)
throws java.text.ParseException</PRE>
<DL>
<DD>Sets the Domain of the WWWAuthenicateHeader to the domain parameter value.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>domain</CODE> - - the new Domain string of this WWWAuthenicateHeader.
<DT><B>Throws:</B>
<DD><CODE>java.text.ParseException</CODE> - which signals that an error has been reached unexpectedly while parsing the domain.</DL>
</DD>
</DL>
<HR>
<A NAME="getDomain()"><!-- --></A><H3>
getDomain</H3>
<PRE>
java.lang.String <B>getDomain</B>()</PRE>
<DL>
<DD>Returns the Domain value of this WWWAuthenicateHeader.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the String representing the Domain information, null if value is not set.</DL>
</DD>
</DL>
<HR>
<A NAME="setStale(boolean)"><!-- --></A><H3>
setStale</H3>
<PRE>
void <B>setStale</B>(boolean stale)</PRE>
<DL>
<DD>Sets the value of the stale parameter of the WWWAuthenicateHeader to the stale parameter value.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>stale</CODE> - - the new boolean value of the stale parameter.</DL>
</DD>
</DL>
<HR>
<A NAME="isStale()"><!-- --></A><H3>
isStale</H3>
<PRE>
boolean <B>isStale</B>()</PRE>
<DL>
<DD>Returns the boolean value of the state paramater of this WWWAuthenicateHeader.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the boolean representing if the challenge is stale.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<b>JSIP API v1.2<br><font size=-1>November 2006</font></b></EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../javax/sip/header/WarningHeader.html" title="interface in javax.sip.header"><B>PREV CLASS</B></A>
NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html?javax/sip/header/WWWAuthenticateHeader.html" target="_top"><B>FRAMES</B></A>
<A HREF="WWWAuthenticateHeader.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
<center>If you have any comments, please mail them to <a href=mailto:JAIN-SIP-INTEREST@java.sun.com>JAIN-SIP-INTEREST@java.sun.com</a> after subscribing at <a href=http://archives.java.sun.com>http://archives.java.sun.com</a><br><a href=../../../copyright.html>Copyright</a> - 2006 BEA Systems and Sun Microsystems</center>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -