578 lines
27 KiB
HTML
578 lines
27 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc (version 1.7.0_51) on Wed Apr 06 13:11:03 EDT 2016 -->
|
|
<title>HttpResponse.Status (Parallel Java 2 Library Documentation)</title>
|
|
<meta name="date" content="2016-04-06">
|
|
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="HttpResponse.Status (Parallel Java 2 Library Documentation)";
|
|
}
|
|
//-->
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a name="navbar_top">
|
|
<!-- -->
|
|
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="class-use/HttpResponse.Status.html">Use</a></li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../index-files/index-1.html">Index</a></li>
|
|
<li><a href="../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../../../edu/rit/http/HttpResponse.html" title="class in edu.rit.http"><span class="strong">Prev Class</span></a></li>
|
|
<li><a href="../../../edu/rit/http/HttpServer.html" title="class in edu.rit.http"><span class="strong">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../index.html?edu/rit/http/HttpResponse.Status.html" target="_top">Frames</a></li>
|
|
<li><a href="HttpResponse.Status.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_top">
|
|
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_top");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li><a href="#enum_constant_summary">Enum Constants</a> | </li>
|
|
<li>Field | </li>
|
|
<li><a href="#method_summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li><a href="#enum_constant_detail">Enum Constants</a> | </li>
|
|
<li>Field | </li>
|
|
<li><a href="#method_detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip-navbar_top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<div class="header">
|
|
<div class="subTitle">edu.rit.http</div>
|
|
<h2 title="Enum HttpResponse.Status" class="title">Enum HttpResponse.Status</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">java.lang.Enum</a><<a href="../../../edu/rit/http/HttpResponse.Status.html" title="enum in edu.rit.http">HttpResponse.Status</a>></li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>edu.rit.http.HttpResponse.Status</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<dl>
|
|
<dt>All Implemented Interfaces:</dt>
|
|
<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><<a href="../../../edu/rit/http/HttpResponse.Status.html" title="enum in edu.rit.http">HttpResponse.Status</a>></dd>
|
|
</dl>
|
|
<dl>
|
|
<dt>Enclosing class:</dt>
|
|
<dd><a href="../../../edu/rit/http/HttpResponse.html" title="class in edu.rit.http">HttpResponse</a></dd>
|
|
</dl>
|
|
<hr>
|
|
<br>
|
|
<pre>public static enum <span class="strong">HttpResponse.Status</span>
|
|
extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a><<a href="../../../edu/rit/http/HttpResponse.Status.html" title="enum in edu.rit.http">HttpResponse.Status</a>></pre>
|
|
<div class="block">Enumeration HttpResponse.Status enumerates the status codes for an HTTP
|
|
response message.</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="enum_constant_summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Enum Constant Summary</h3>
|
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation">
|
|
<caption><span>Enum Constants</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colOne" scope="col">Enum Constant and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colOne"><code><strong><a href="../../../edu/rit/http/HttpResponse.Status.html#STATUS_200_OK">STATUS_200_OK</a></strong></code>
|
|
<div class="block">The request has succeeded.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colOne"><code><strong><a href="../../../edu/rit/http/HttpResponse.Status.html#STATUS_201_CREATED">STATUS_201_CREATED</a></strong></code>
|
|
<div class="block">The request has been fulfilled and resulted in a new resource being
|
|
created.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colOne"><code><strong><a href="../../../edu/rit/http/HttpResponse.Status.html#STATUS_202_ACCEPTED">STATUS_202_ACCEPTED</a></strong></code>
|
|
<div class="block">The request has been accepted for processing, but the processing has
|
|
not been completed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colOne"><code><strong><a href="../../../edu/rit/http/HttpResponse.Status.html#STATUS_204_NO_CONTENT">STATUS_204_NO_CONTENT</a></strong></code>
|
|
<div class="block">The server has fulfilled the request but there is no new information
|
|
to send back.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colOne"><code><strong><a href="../../../edu/rit/http/HttpResponse.Status.html#STATUS_301_MOVED_PERMANENTLY">STATUS_301_MOVED_PERMANENTLY</a></strong></code>
|
|
<div class="block">The requested resource has been assigned a new permanent URL and any
|
|
future references to this resource should be done using that URL.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colOne"><code><strong><a href="../../../edu/rit/http/HttpResponse.Status.html#STATUS_302_MOVED_TEMPORARILY">STATUS_302_MOVED_TEMPORARILY</a></strong></code>
|
|
<div class="block">The requested resource resides temporarily under a different URL.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colOne"><code><strong><a href="../../../edu/rit/http/HttpResponse.Status.html#STATUS_304_NOT_MODIFIED">STATUS_304_NOT_MODIFIED</a></strong></code>
|
|
<div class="block">If the client has performed a conditional GET request and access is
|
|
allowed, but the document has not been modified since the date and
|
|
time specified in the If-Modified-Since field, the server must
|
|
respond with this status code and not send an Entity-Body to the
|
|
client.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colOne"><code><strong><a href="../../../edu/rit/http/HttpResponse.Status.html#STATUS_400_BAD_REQUEST">STATUS_400_BAD_REQUEST</a></strong></code>
|
|
<div class="block">The request could not be understood by the server due to malformed
|
|
syntax.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colOne"><code><strong><a href="../../../edu/rit/http/HttpResponse.Status.html#STATUS_401_UNAUTHORIZED">STATUS_401_UNAUTHORIZED</a></strong></code>
|
|
<div class="block">The request requires user authentication.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colOne"><code><strong><a href="../../../edu/rit/http/HttpResponse.Status.html#STATUS_403_FORBIDDEN">STATUS_403_FORBIDDEN</a></strong></code>
|
|
<div class="block">The server understood the request, but is refusing to fulfill it.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colOne"><code><strong><a href="../../../edu/rit/http/HttpResponse.Status.html#STATUS_404_NOT_FOUND">STATUS_404_NOT_FOUND</a></strong></code>
|
|
<div class="block">The server has not found anything matching the Request-URI.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colOne"><code><strong><a href="../../../edu/rit/http/HttpResponse.Status.html#STATUS_500_INTERNAL_SERVER_ERROR">STATUS_500_INTERNAL_SERVER_ERROR</a></strong></code>
|
|
<div class="block">The server encountered an unexpected condition which prevented it
|
|
from fulfilling the request.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colOne"><code><strong><a href="../../../edu/rit/http/HttpResponse.Status.html#STATUS_501_NOT_IMPLEMENTED">STATUS_501_NOT_IMPLEMENTED</a></strong></code>
|
|
<div class="block">The server does not support the functionality required to fulfill the
|
|
request.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colOne"><code><strong><a href="../../../edu/rit/http/HttpResponse.Status.html#STATUS_502_BAD_GATEWAY">STATUS_502_BAD_GATEWAY</a></strong></code>
|
|
<div class="block">The server, while acting as a gateway or proxy, received an invalid
|
|
response from the upstream server it accessed in attempting to
|
|
fulfill the request.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colOne"><code><strong><a href="../../../edu/rit/http/HttpResponse.Status.html#STATUS_503_SERVICE_UNAVAILABLE">STATUS_503_SERVICE_UNAVAILABLE</a></strong></code>
|
|
<div class="block">The server is currently unable to handle the request due to a
|
|
temporary overloading or maintenance of the server.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method_summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Summary</h3>
|
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
|
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/http/HttpResponse.Status.html#toString()">toString</a></strong>()</code>
|
|
<div class="block">Returns a string version of this Status value.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static <a href="../../../edu/rit/http/HttpResponse.Status.html" title="enum in edu.rit.http">HttpResponse.Status</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/http/HttpResponse.Status.html#valueOf(java.lang.String)">valueOf</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code>
|
|
<div class="block">Returns the enum constant of this type with the specified name.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <a href="../../../edu/rit/http/HttpResponse.Status.html" title="enum in edu.rit.http">HttpResponse.Status</a>[]</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/http/HttpResponse.Status.html#values()">values</a></strong>()</code>
|
|
<div class="block">Returns an array containing the constants of this enum type, in
|
|
the order they are declared.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Enum">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a></h3>
|
|
<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#compareTo(E)" title="class or interface in java.lang">compareTo</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#getDeclaringClass()" title="class or interface in java.lang">getDeclaringClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#name()" title="class or interface in java.lang">name</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#ordinal()" title="class or interface in java.lang">ordinal</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#valueOf(java.lang.Class, java.lang.String)" title="class or interface in java.lang">valueOf</a></code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
|
<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="details">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ============ ENUM CONSTANT DETAIL =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="enum_constant_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Enum Constant Detail</h3>
|
|
<a name="STATUS_200_OK">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>STATUS_200_OK</h4>
|
|
<pre>public static final <a href="../../../edu/rit/http/HttpResponse.Status.html" title="enum in edu.rit.http">HttpResponse.Status</a> STATUS_200_OK</pre>
|
|
<div class="block">The request has succeeded.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="STATUS_201_CREATED">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>STATUS_201_CREATED</h4>
|
|
<pre>public static final <a href="../../../edu/rit/http/HttpResponse.Status.html" title="enum in edu.rit.http">HttpResponse.Status</a> STATUS_201_CREATED</pre>
|
|
<div class="block">The request has been fulfilled and resulted in a new resource being
|
|
created.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="STATUS_202_ACCEPTED">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>STATUS_202_ACCEPTED</h4>
|
|
<pre>public static final <a href="../../../edu/rit/http/HttpResponse.Status.html" title="enum in edu.rit.http">HttpResponse.Status</a> STATUS_202_ACCEPTED</pre>
|
|
<div class="block">The request has been accepted for processing, but the processing has
|
|
not been completed.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="STATUS_204_NO_CONTENT">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>STATUS_204_NO_CONTENT</h4>
|
|
<pre>public static final <a href="../../../edu/rit/http/HttpResponse.Status.html" title="enum in edu.rit.http">HttpResponse.Status</a> STATUS_204_NO_CONTENT</pre>
|
|
<div class="block">The server has fulfilled the request but there is no new information
|
|
to send back.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="STATUS_301_MOVED_PERMANENTLY">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>STATUS_301_MOVED_PERMANENTLY</h4>
|
|
<pre>public static final <a href="../../../edu/rit/http/HttpResponse.Status.html" title="enum in edu.rit.http">HttpResponse.Status</a> STATUS_301_MOVED_PERMANENTLY</pre>
|
|
<div class="block">The requested resource has been assigned a new permanent URL and any
|
|
future references to this resource should be done using that URL.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="STATUS_302_MOVED_TEMPORARILY">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>STATUS_302_MOVED_TEMPORARILY</h4>
|
|
<pre>public static final <a href="../../../edu/rit/http/HttpResponse.Status.html" title="enum in edu.rit.http">HttpResponse.Status</a> STATUS_302_MOVED_TEMPORARILY</pre>
|
|
<div class="block">The requested resource resides temporarily under a different URL.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="STATUS_304_NOT_MODIFIED">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>STATUS_304_NOT_MODIFIED</h4>
|
|
<pre>public static final <a href="../../../edu/rit/http/HttpResponse.Status.html" title="enum in edu.rit.http">HttpResponse.Status</a> STATUS_304_NOT_MODIFIED</pre>
|
|
<div class="block">If the client has performed a conditional GET request and access is
|
|
allowed, but the document has not been modified since the date and
|
|
time specified in the If-Modified-Since field, the server must
|
|
respond with this status code and not send an Entity-Body to the
|
|
client.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="STATUS_400_BAD_REQUEST">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>STATUS_400_BAD_REQUEST</h4>
|
|
<pre>public static final <a href="../../../edu/rit/http/HttpResponse.Status.html" title="enum in edu.rit.http">HttpResponse.Status</a> STATUS_400_BAD_REQUEST</pre>
|
|
<div class="block">The request could not be understood by the server due to malformed
|
|
syntax.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="STATUS_401_UNAUTHORIZED">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>STATUS_401_UNAUTHORIZED</h4>
|
|
<pre>public static final <a href="../../../edu/rit/http/HttpResponse.Status.html" title="enum in edu.rit.http">HttpResponse.Status</a> STATUS_401_UNAUTHORIZED</pre>
|
|
<div class="block">The request requires user authentication.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="STATUS_403_FORBIDDEN">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>STATUS_403_FORBIDDEN</h4>
|
|
<pre>public static final <a href="../../../edu/rit/http/HttpResponse.Status.html" title="enum in edu.rit.http">HttpResponse.Status</a> STATUS_403_FORBIDDEN</pre>
|
|
<div class="block">The server understood the request, but is refusing to fulfill it.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="STATUS_404_NOT_FOUND">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>STATUS_404_NOT_FOUND</h4>
|
|
<pre>public static final <a href="../../../edu/rit/http/HttpResponse.Status.html" title="enum in edu.rit.http">HttpResponse.Status</a> STATUS_404_NOT_FOUND</pre>
|
|
<div class="block">The server has not found anything matching the Request-URI.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="STATUS_500_INTERNAL_SERVER_ERROR">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>STATUS_500_INTERNAL_SERVER_ERROR</h4>
|
|
<pre>public static final <a href="../../../edu/rit/http/HttpResponse.Status.html" title="enum in edu.rit.http">HttpResponse.Status</a> STATUS_500_INTERNAL_SERVER_ERROR</pre>
|
|
<div class="block">The server encountered an unexpected condition which prevented it
|
|
from fulfilling the request.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="STATUS_501_NOT_IMPLEMENTED">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>STATUS_501_NOT_IMPLEMENTED</h4>
|
|
<pre>public static final <a href="../../../edu/rit/http/HttpResponse.Status.html" title="enum in edu.rit.http">HttpResponse.Status</a> STATUS_501_NOT_IMPLEMENTED</pre>
|
|
<div class="block">The server does not support the functionality required to fulfill the
|
|
request.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="STATUS_502_BAD_GATEWAY">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>STATUS_502_BAD_GATEWAY</h4>
|
|
<pre>public static final <a href="../../../edu/rit/http/HttpResponse.Status.html" title="enum in edu.rit.http">HttpResponse.Status</a> STATUS_502_BAD_GATEWAY</pre>
|
|
<div class="block">The server, while acting as a gateway or proxy, received an invalid
|
|
response from the upstream server it accessed in attempting to
|
|
fulfill the request.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="STATUS_503_SERVICE_UNAVAILABLE">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>STATUS_503_SERVICE_UNAVAILABLE</h4>
|
|
<pre>public static final <a href="../../../edu/rit/http/HttpResponse.Status.html" title="enum in edu.rit.http">HttpResponse.Status</a> STATUS_503_SERVICE_UNAVAILABLE</pre>
|
|
<div class="block">The server is currently unable to handle the request due to a
|
|
temporary overloading or maintenance of the server.</div>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Detail</h3>
|
|
<a name="values()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>values</h4>
|
|
<pre>public static <a href="../../../edu/rit/http/HttpResponse.Status.html" title="enum in edu.rit.http">HttpResponse.Status</a>[] values()</pre>
|
|
<div class="block">Returns an array containing the constants of this enum type, in
|
|
the order they are declared. This method may be used to iterate
|
|
over the constants as follows:
|
|
<pre>
|
|
for (HttpResponse.Status c : HttpResponse.Status.values())
|
|
System.out.println(c);
|
|
</pre></div>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>an array containing the constants of this enum type, in
|
|
the order they are declared</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="valueOf(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>valueOf</h4>
|
|
<pre>public static <a href="../../../edu/rit/http/HttpResponse.Status.html" title="enum in edu.rit.http">HttpResponse.Status</a> valueOf(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre>
|
|
<div class="block">Returns the enum constant of this type with the specified name.
|
|
The string must match <i>exactly</i> an identifier used to declare an
|
|
enum constant in this type. (Extraneous whitespace characters are
|
|
not permitted.)</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name of the enum constant to be returned.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>the enum constant with the specified name</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if this enum type has no constant
|
|
with the specified name</dd>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if the argument is null</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="toString()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>toString</h4>
|
|
<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> toString()</pre>
|
|
<div class="block">Returns a string version of this Status value.</div>
|
|
<dl>
|
|
<dt><strong>Overrides:</strong></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#toString()" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a><<a href="../../../edu/rit/http/HttpResponse.Status.html" title="enum in edu.rit.http">HttpResponse.Status</a>></code></dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>String version.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a name="navbar_bottom">
|
|
<!-- -->
|
|
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="class-use/HttpResponse.Status.html">Use</a></li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../index-files/index-1.html">Index</a></li>
|
|
<li><a href="../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../../../edu/rit/http/HttpResponse.html" title="class in edu.rit.http"><span class="strong">Prev Class</span></a></li>
|
|
<li><a href="../../../edu/rit/http/HttpServer.html" title="class in edu.rit.http"><span class="strong">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../index.html?edu/rit/http/HttpResponse.Status.html" target="_top">Frames</a></li>
|
|
<li><a href="HttpResponse.Status.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_bottom">
|
|
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li><a href="#enum_constant_summary">Enum Constants</a> | </li>
|
|
<li>Field | </li>
|
|
<li><a href="#method_summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li><a href="#enum_constant_detail">Enum Constants</a> | </li>
|
|
<li>Field | </li>
|
|
<li><a href="#method_detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip-navbar_bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
<p class="legalCopy"><small><FONT SIZE="-2">Copyright © 2013–2016 by Alan Kaminsky. All rights reserved. Send comments to ark</FONT><FONT SIZE="1" COLOR="#FFFFFF">­</FONT><FONT SIZE="-2">@</FONT><FONT SIZE="1" COLOR="#FFFFFF">­</FONT><FONT SIZE="-2">cs.rit.edu.</FONT></small></p>
|
|
</body>
|
|
</html>
|