📄 response.html
字号:
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/message/Response.html#QUEUED">QUEUED</A></B></CODE>
<BR>
The called party is temporarily unavailable, but the server has decided to queue the call rather than reject it.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/message/Response.html#REQUEST_ENTITY_TOO_LARGE">REQUEST_ENTITY_TOO_LARGE</A></B></CODE>
<BR>
The server is refusing to process a request because the request entity-body is larger than the server is willing or able to process.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/message/Response.html#REQUEST_PENDING">REQUEST_PENDING</A></B></CODE>
<BR>
The request was received by a UAS that had a pending request within the same dialog.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/message/Response.html#REQUEST_TERMINATED">REQUEST_TERMINATED</A></B></CODE>
<BR>
The request was terminated by a BYE or CANCEL request.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/message/Response.html#REQUEST_TIMEOUT">REQUEST_TIMEOUT</A></B></CODE>
<BR>
The server could not produce a response within a suitable amount of time, for example, if it could not determine the location of the user in time.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/message/Response.html#REQUEST_URI_TOO_LONG">REQUEST_URI_TOO_LONG</A></B></CODE>
<BR>
The server is refusing to service the request because the Request-URI is longer than the server is willing to interpret.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/message/Response.html#RINGING">RINGING</A></B></CODE>
<BR>
The User Agent receiving the INVITE is trying to alert the user.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/message/Response.html#SERVER_INTERNAL_ERROR">SERVER_INTERNAL_ERROR</A></B></CODE>
<BR>
The server encountered an unexpected condition that prevented it from fulfilling the request.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/message/Response.html#SERVER_TIMEOUT">SERVER_TIMEOUT</A></B></CODE>
<BR>
The server did not receive a timely response from an external server it accessed in attempting to process the request. 408 (Request Timeout) should be used instead if there was no response within the period specified in the Expires header field from the upstream server.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/message/Response.html#SERVICE_UNAVAILABLE">SERVICE_UNAVAILABLE</A></B></CODE>
<BR>
The server is temporarily unable to process the request due to a temporary overloading or maintenance of the server.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/message/Response.html#SESSION_NOT_ACCEPTABLE">SESSION_NOT_ACCEPTABLE</A></B></CODE>
<BR>
The user's agent was contacted successfully but some aspects of the session description such as the requested media, bandwidth, or addressing style were not acceptable.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/message/Response.html#SESSION_PROGRESS">SESSION_PROGRESS</A></B></CODE>
<BR>
The 183 (Session Progress) response is used to convey information about the progress of the call that is not otherwise classified.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/message/Response.html#TEMPORARILY_UNAVAILABLE">TEMPORARILY_UNAVAILABLE</A></B></CODE>
<BR>
The callee's end system was contacted successfully but the callee is currently unavailable (for example, is not logged in, logged in but in a state that precludes communication with the callee, or has activated the "do not disturb" feature).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/message/Response.html#TOO_MANY_HOPS">TOO_MANY_HOPS</A></B></CODE>
<BR>
The server received a request that contains a Max-Forwards header field with the value zero.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/message/Response.html#TRYING">TRYING</A></B></CODE>
<BR>
This response indicates that the request has been received by the next-hop server and that some unspecified action is being taken on behalf of this call (for example, a database is being consulted).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/message/Response.html#UNAUTHORIZED">UNAUTHORIZED</A></B></CODE>
<BR>
The request requires user authentication.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/message/Response.html#UNDECIPHERABLE">UNDECIPHERABLE</A></B></CODE>
<BR>
The request was received by a UAS that contained an encrypted MIME body for which the recipient does not possess or will not provide an appropriate decryption key.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/message/Response.html#UNSUPPORTED_MEDIA_TYPE">UNSUPPORTED_MEDIA_TYPE</A></B></CODE>
<BR>
The server is refusing to service the request because the message body of the request is in a format not supported by the server for the requested method.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/message/Response.html#UNSUPPORTED_URI_SCHEME">UNSUPPORTED_URI_SCHEME</A></B></CODE>
<BR>
The server cannot process the request because the scheme of the URI in the Request-URI is unknown to the server.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/message/Response.html#USE_PROXY">USE_PROXY</A></B></CODE>
<BR>
The requested resource MUST be accessed through the proxy given by the Contact field.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/message/Response.html#VERSION_NOT_SUPPORTED">VERSION_NOT_SUPPORTED</A></B></CODE>
<BR>
The server does not support, or refuses to support, the SIP protocol version that was used in the request.</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/message/Response.html#getReasonPhrase()">getReasonPhrase</A></B>()</CODE>
<BR>
Gets the reason phrase of this Response message.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/message/Response.html#getStatusCode()">getStatusCode</A></B>()</CODE>
<BR>
Gets the integer value of the status code of Response, which identifies the outcome of the request to which this response is related.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/message/Response.html#setReasonPhrase(java.lang.String)">setReasonPhrase</A></B>(java.lang.String reasonPhrase)</CODE>
<BR>
Sets reason phrase of Response.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/message/Response.html#setStatusCode(int)">setStatusCode</A></B>(int statusCode)</CODE>
<BR>
Sets the status-code of Response.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_javax.sip.message.Message"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from interface javax.sip.message.<A HREF="../../../javax/sip/message/Message.html" title="interface in javax.sip.message">Message</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../javax/sip/message/Message.html#addFirst(javax.sip.header.Header)">addFirst</A>, <A HREF="../../../javax/sip/message/Message.html#addHeader(javax.sip.header.Header)">addHeader</A>, <A HREF="../../../javax/sip/message/Message.html#addLast(javax.sip.header.Header)">addLast</A>, <A HREF="../../../javax/sip/message/Message.html#clone()">clone</A>, <A HREF="../../../javax/sip/message/Message.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../javax/sip/message/Message.html#getContent()">getContent</A>, <A HREF="../../../javax/sip/message/Message.html#getContentDisposition()">getContentDisposition</A>, <A HREF="../../../javax/sip/message/Message.html#getContentEncoding()">getContentEncoding</A>, <A HREF="../../../javax/sip/message/Message.html#getContentLanguage()">getContentLanguage</A>, <A HREF="../../../javax/sip/message/Message.html#getContentLength()">getContentLength</A>, <A HREF="../../../javax/sip/message/Message.html#getExpires()">getExpires</A>, <A HREF="../../../javax/sip/message/Message.html#getHeader(java.lang.String)">getHeader</A>, <A HREF="../../../javax/sip/message/Message.html#getHeaderNames()">getHeaderNames</A>, <A HREF="../../../javax/sip/message/Message.html#getHeaders(java.lang.String)">getHeaders</A>, <A HREF="../../../javax/sip/message/Message.html#getRawContent()">getRawContent</A>, <A HREF="../../../javax/sip/message/Message.html#getSIPVersion()">getSIPVersion</A>, <A HREF="../../../javax/sip/message/Message.html#getUnrecognizedHeaders()">getUnrecognizedHeaders</A>, <A HREF="../../../javax/sip/message/Message.html#hashCode()">hashCode</A>, <A HREF="../../../javax/sip/message/Message.html#removeContent()">removeContent</A>, <A HREF="../../../javax/sip/message/Message.html#removeFirst(java.lang.String)">removeFirst</A>, <A HREF="../../../javax/sip/message/Message.html#removeHeader(java.lang.String)">removeHeader</A>, <A HREF="../../../javax/sip/message/Message.html#removeLast(java.lang.String)">removeLast</A>, <A HREF="../../../javax/sip/message/Message.html#setContent(java.lang.Object, javax.sip.header.ContentTypeHeader)">setContent</A>, <A HREF="../../../javax/sip/message/Message.html#setContentDisposition(javax.sip.header.ContentDispositionHeader)">setContentDisposition</A>, <A HREF="../../../javax/sip/message/Message.html#setContentEncoding(javax.sip.header.ContentEncodingHeader)">setContentEncoding</A>, <A HREF="../../../javax/sip/message/Message.html#setContentLanguage(javax.sip.header.ContentLanguageHeader)">setContentLanguage</A>, <A HREF="../../../javax/sip/message/Message.html#setContentLength(javax.sip.header.ContentLengthHeader)">setContentLength</A>, <A HREF="../../../javax/sip/message/Message.html#setExpires(javax.sip.header.ExpiresHeader)">setExpires</A>, <A HREF="../../../javax/sip/message/Message.html#setHeader(javax.sip.header.Header)">setHeader</A>, <A HREF="../../../javax/sip/message/Message.html#setSIPVersion(java.lang.String)">setSIPVersion</A>, <A HREF="../../../javax/sip/message/Message.html#toString()">toString</A></CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="TRYING"><!-- --></A><H3>
TRYING</H3>
<PRE>
static final int <B>TRYING</B></PRE>
<DL>
<DD>This response indicates that the request has been received by the next-hop server and that some unspecified action is being taken on behalf of this call (for example, a database is being consulted). This response, like all other provisional responses, stops retransmissions of an INVITE by a UAC. The 100 (Trying) response is different from other provisional responses, in that it is never forwarded upstream by a stateful proxy.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.sip.message.Response.TRYING">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="RINGING"><!-- --></A><H3>
RINGING</H3>
<PRE>
static final int <B>RINGING</B></PRE>
<DL>
<DD>The User Agent receiving the INVITE is trying to alert the user. This response MAY be used to initiate local ringback.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.sip.message.Response.RINGING">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="CALL_IS_BEING_FORWARDED"><!-- --></A><H3>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -