blob: 965be4576ae2471abb7a65dcab93f6c72e626f18 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.13) on Tue Feb 08 12:40:05 CST 2022 -->
<title>HttpMethod (Eclipse Jetty API Doc - v10.0.8)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2022-02-08">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../jquery/jquery-3.5.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="HttpMethod (Eclipse Jetty API Doc - v10.0.8)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":9,"i3":10,"i4":10,"i5":10,"i6":10,"i7":41,"i8":9,"i9":10,"i10":9,"i11":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/HttpMethod.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-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#enum.constant.summary">Enum Constants</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#enum.constant.detail">Enum Constants</a>&nbsp;|&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.eclipse.jetty.http</a></div>
<h2 title="Enum HttpMethod" class="title">Enum HttpMethod</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>java.lang.Enum&lt;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a>&gt;</li>
<li>
<ul class="inheritance">
<li>org.eclipse.jetty.http.HttpMethod</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code>java.io.Serializable</code>, <code>java.lang.Comparable&lt;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a>&gt;</code></dd>
</dl>
<hr>
<pre>public enum <span class="typeNameLabel">HttpMethod</span>
extends java.lang.Enum&lt;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a>&gt;</pre>
<div class="block">Known HTTP Methods</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="enum.constant.summary">
<!-- -->
</a>
<h3>Enum Constant Summary</h3>
<table class="memberSummary">
<caption><span>Enum Constants</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Enum Constant</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#ACL">ACL</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#BASELINE_CONTROL">BASELINE_CONTROL</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#BIND">BIND</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#CHECKIN">CHECKIN</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#CHECKOUT">CHECKOUT</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#CONNECT">CONNECT</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#COPY">COPY</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#DELETE">DELETE</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#GET">GET</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#HEAD">HEAD</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#LABEL">LABEL</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#LINK">LINK</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#LOCK">LOCK</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#MERGE">MERGE</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#MKACTIVITY">MKACTIVITY</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#MKCALENDAR">MKCALENDAR</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#MKCOL">MKCOL</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#MKREDIRECTREF">MKREDIRECTREF</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#MKWORKSPACE">MKWORKSPACE</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#MOVE">MOVE</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#OPTIONS">OPTIONS</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#ORDERPATCH">ORDERPATCH</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#PATCH">PATCH</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#POST">POST</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#PRI">PRI</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#PROPFIND">PROPFIND</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#PROPPATCH">PROPPATCH</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#PROXY">PROXY</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#PUT">PUT</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#REBIND">REBIND</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#REPORT">REPORT</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#SEARCH">SEARCH</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#TRACE">TRACE</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#UNBIND">UNBIND</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#UNCHECKOUT">UNCHECKOUT</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#UNLINK">UNLINK</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#UNLOCK">UNLOCK</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#UPDATE">UPDATE</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#UPDATEREDIRECTREF">UPDATEREDIRECTREF</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#VERSION_CONTROL">VERSION_CONTROL</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- =========== FIELD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ACL_AS_INT">ACL_AS_INT</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../util/Index.html" title="interface in org.eclipse.jetty.util">Index</a>&lt;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#CACHE">CACHE</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#GET_AS_INT">GET_AS_INT</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#HEAD_AS_INT">HEAD_AS_INT</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../util/Index.html" title="interface in org.eclipse.jetty.util">Index</a>&lt;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#INSENSITIVE_CACHE">INSENSITIVE_CACHE</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../util/Index.html" title="interface in org.eclipse.jetty.util">Index</a>&lt;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#LOOK_AHEAD">LOOK_AHEAD</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#POST_AS_INT">POST_AS_INT</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#PRI_AS_INT">PRI_AS_INT</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#PUT_AS_INT">PUT_AS_INT</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>java.nio.ByteBuffer</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#asBuffer()">asBuffer</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#asString()">asString</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static <a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#fromString(java.lang.String)">fromString</a></span>&#8203;(java.lang.String&nbsp;method)</code></th>
<td class="colLast">
<div class="block">Converts the given String parameter to an HttpMethod.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>byte[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBytes()">getBytes</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#is(java.lang.String)">is</a></span>&#8203;(java.lang.String&nbsp;s)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isIdempotent()">isIdempotent</a></span>()</code></th>
<td class="colLast">
<div class="block">An idempotent HTTP method is an HTTP method that can be called many times without different outcomes.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isSafe()">isSafe</a></span>()</code></th>
<td class="colLast">
<div class="block">An HTTP method is safe if it doesn't alter the state of the server.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>static <a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#lookAheadGet(byte%5B%5D,int,int)">lookAheadGet</a></span>&#8203;(byte[]&nbsp;bytes,
int&nbsp;position,
int&nbsp;limit)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Not used</div>
</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>static <a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#lookAheadGet(java.nio.ByteBuffer)">lookAheadGet</a></span>&#8203;(java.nio.ByteBuffer&nbsp;buffer)</code></th>
<td class="colLast">
<div class="block">Optimized lookup to find a method name and trailing space in a byte array.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toString()">toString</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>static <a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#valueOf(java.lang.String)">valueOf</a></span>&#8203;(java.lang.String&nbsp;name)</code></th>
<td class="colLast">
<div class="block">Returns the enum constant of this type with the specified name.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>static <a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a>[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#values()">values</a></span>()</code></th>
<td class="colLast">
<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 id="methods.inherited.from.class.java.lang.Enum">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Enum</h3>
<code>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ ENUM CONSTANT DETAIL =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="enum.constant.detail">
<!-- -->
</a>
<h3>Enum Constant Detail</h3>
<a id="ACL">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ACL</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> ACL</pre>
</li>
</ul>
<a id="BASELINE_CONTROL">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>BASELINE_CONTROL</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> BASELINE_CONTROL</pre>
</li>
</ul>
<a id="BIND">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>BIND</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> BIND</pre>
</li>
</ul>
<a id="CHECKIN">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CHECKIN</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> CHECKIN</pre>
</li>
</ul>
<a id="CHECKOUT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CHECKOUT</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> CHECKOUT</pre>
</li>
</ul>
<a id="CONNECT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CONNECT</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> CONNECT</pre>
</li>
</ul>
<a id="COPY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>COPY</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> COPY</pre>
</li>
</ul>
<a id="DELETE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DELETE</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> DELETE</pre>
</li>
</ul>
<a id="GET">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>GET</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> GET</pre>
</li>
</ul>
<a id="HEAD">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>HEAD</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> HEAD</pre>
</li>
</ul>
<a id="LABEL">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LABEL</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> LABEL</pre>
</li>
</ul>
<a id="LINK">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LINK</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> LINK</pre>
</li>
</ul>
<a id="LOCK">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LOCK</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> LOCK</pre>
</li>
</ul>
<a id="MERGE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MERGE</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> MERGE</pre>
</li>
</ul>
<a id="MKACTIVITY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MKACTIVITY</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> MKACTIVITY</pre>
</li>
</ul>
<a id="MKCALENDAR">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MKCALENDAR</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> MKCALENDAR</pre>
</li>
</ul>
<a id="MKCOL">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MKCOL</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> MKCOL</pre>
</li>
</ul>
<a id="MKREDIRECTREF">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MKREDIRECTREF</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> MKREDIRECTREF</pre>
</li>
</ul>
<a id="MKWORKSPACE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MKWORKSPACE</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> MKWORKSPACE</pre>
</li>
</ul>
<a id="MOVE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MOVE</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> MOVE</pre>
</li>
</ul>
<a id="OPTIONS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>OPTIONS</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> OPTIONS</pre>
</li>
</ul>
<a id="ORDERPATCH">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ORDERPATCH</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> ORDERPATCH</pre>
</li>
</ul>
<a id="PATCH">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PATCH</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> PATCH</pre>
</li>
</ul>
<a id="POST">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>POST</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> POST</pre>
</li>
</ul>
<a id="PRI">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PRI</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> PRI</pre>
</li>
</ul>
<a id="PROPFIND">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PROPFIND</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> PROPFIND</pre>
</li>
</ul>
<a id="PROPPATCH">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PROPPATCH</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> PROPPATCH</pre>
</li>
</ul>
<a id="PUT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PUT</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> PUT</pre>
</li>
</ul>
<a id="REBIND">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>REBIND</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> REBIND</pre>
</li>
</ul>
<a id="REPORT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>REPORT</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> REPORT</pre>
</li>
</ul>
<a id="SEARCH">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SEARCH</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> SEARCH</pre>
</li>
</ul>
<a id="TRACE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TRACE</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> TRACE</pre>
</li>
</ul>
<a id="UNBIND">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>UNBIND</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> UNBIND</pre>
</li>
</ul>
<a id="UNCHECKOUT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>UNCHECKOUT</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> UNCHECKOUT</pre>
</li>
</ul>
<a id="UNLINK">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>UNLINK</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> UNLINK</pre>
</li>
</ul>
<a id="UNLOCK">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>UNLOCK</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> UNLOCK</pre>
</li>
</ul>
<a id="UPDATE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>UPDATE</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> UPDATE</pre>
</li>
</ul>
<a id="UPDATEREDIRECTREF">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>UPDATEREDIRECTREF</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> UPDATEREDIRECTREF</pre>
</li>
</ul>
<a id="VERSION_CONTROL">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>VERSION_CONTROL</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> VERSION_CONTROL</pre>
</li>
</ul>
<a id="PROXY">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>PROXY</h4>
<pre>public static final&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a> PROXY</pre>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ FIELD DETAIL =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a id="INSENSITIVE_CACHE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>INSENSITIVE_CACHE</h4>
<pre>public static final&nbsp;<a href="../util/Index.html" title="interface in org.eclipse.jetty.util">Index</a>&lt;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a>&gt; INSENSITIVE_CACHE</pre>
</li>
</ul>
<a id="CACHE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CACHE</h4>
<pre>public static final&nbsp;<a href="../util/Index.html" title="interface in org.eclipse.jetty.util">Index</a>&lt;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a>&gt; CACHE</pre>
</li>
</ul>
<a id="LOOK_AHEAD">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LOOK_AHEAD</h4>
<pre>public static final&nbsp;<a href="../util/Index.html" title="interface in org.eclipse.jetty.util">Index</a>&lt;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a>&gt; LOOK_AHEAD</pre>
</li>
</ul>
<a id="ACL_AS_INT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ACL_AS_INT</h4>
<pre>public static final&nbsp;int ACL_AS_INT</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.jetty.http.HttpMethod.ACL_AS_INT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="GET_AS_INT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>GET_AS_INT</h4>
<pre>public static final&nbsp;int GET_AS_INT</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.jetty.http.HttpMethod.GET_AS_INT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="PRI_AS_INT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PRI_AS_INT</h4>
<pre>public static final&nbsp;int PRI_AS_INT</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.jetty.http.HttpMethod.PRI_AS_INT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="PUT_AS_INT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PUT_AS_INT</h4>
<pre>public static final&nbsp;int PUT_AS_INT</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.jetty.http.HttpMethod.PUT_AS_INT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="POST_AS_INT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>POST_AS_INT</h4>
<pre>public static final&nbsp;int POST_AS_INT</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.jetty.http.HttpMethod.POST_AS_INT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="HEAD_AS_INT">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>HEAD_AS_INT</h4>
<pre>public static final&nbsp;int HEAD_AS_INT</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.jetty.http.HttpMethod.HEAD_AS_INT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="values()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>values</h4>
<pre class="methodSignature">public static&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a>[]&nbsp;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 (HttpMethod c : HttpMethod.values())
&nbsp; System.out.println(c);
</pre></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an array containing the constants of this enum type, in the order they are declared</dd>
</dl>
</li>
</ul>
<a id="valueOf(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>valueOf</h4>
<pre class="methodSignature">public static&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a>&nbsp;valueOf&#8203;(java.lang.String&nbsp;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="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - the name of the enum constant to be returned.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the enum constant with the specified name</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - if this enum type has no constant with the specified name</dd>
<dd><code>java.lang.NullPointerException</code> - if the argument is null</dd>
</dl>
</li>
</ul>
<a id="getBytes()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBytes</h4>
<pre class="methodSignature">public&nbsp;byte[]&nbsp;getBytes()</pre>
</li>
</ul>
<a id="is(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>is</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;is&#8203;(java.lang.String&nbsp;s)</pre>
</li>
</ul>
<a id="isSafe()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSafe</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;isSafe()</pre>
<div class="block">An HTTP method is safe if it doesn't alter the state of the server.
In other words, a method is safe if it leads to a read-only operation.
Several common HTTP methods are safe: GET , HEAD , or OPTIONS .
All safe methods are also idempotent, but not all idempotent methods are safe</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>if the method is safe.</dd>
</dl>
</li>
</ul>
<a id="isIdempotent()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isIdempotent</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;isIdempotent()</pre>
<div class="block">An idempotent HTTP method is an HTTP method that can be called many times without different outcomes.
It would not matter if the method is called only once, or ten times over. The result should be the same.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the method is idempotent.</dd>
</dl>
</li>
</ul>
<a id="asBuffer()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asBuffer</h4>
<pre class="methodSignature">public&nbsp;java.nio.ByteBuffer&nbsp;asBuffer()</pre>
</li>
</ul>
<a id="asString()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asString</h4>
<pre class="methodSignature">public&nbsp;java.lang.String&nbsp;asString()</pre>
</li>
</ul>
<a id="toString()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre class="methodSignature">public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Enum&lt;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a>&gt;</code></dd>
</dl>
</li>
</ul>
<a id="lookAheadGet(byte[],int,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lookAheadGet</h4>
<pre class="methodSignature">@Deprecated
public static&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a>&nbsp;lookAheadGet&#8203;(byte[]&nbsp;bytes,
int&nbsp;position,
int&nbsp;limit)</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Not used</div>
</div>
<div class="block">Optimized lookup to find a method name and trailing space in a byte array.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>bytes</code> - Array containing ISO-8859-1 characters</dd>
<dd><code>position</code> - The first valid index</dd>
<dd><code>limit</code> - The first non valid index</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>An HttpMethod if a match or null if no easy match.</dd>
</dl>
</li>
</ul>
<a id="lookAheadGet(java.nio.ByteBuffer)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lookAheadGet</h4>
<pre class="methodSignature">public static&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a>&nbsp;lookAheadGet&#8203;(java.nio.ByteBuffer&nbsp;buffer)</pre>
<div class="block">Optimized lookup to find a method name and trailing space in a byte array.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>buffer</code> - buffer containing ISO-8859-1 characters, it is not modified.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>An HttpMethod if a match or null if no easy match.</dd>
</dl>
</li>
</ul>
<a id="fromString(java.lang.String)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>fromString</h4>
<pre class="methodSignature">public static&nbsp;<a href="HttpMethod.html" title="enum in org.eclipse.jetty.http">HttpMethod</a>&nbsp;fromString&#8203;(java.lang.String&nbsp;method)</pre>
<div class="block">Converts the given String parameter to an HttpMethod.
The string may differ from the Enum name as a '-' in the method
name is represented as a '_' in the Enum name.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>method</code> - the String to get the equivalent HttpMethod from</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the HttpMethod or null if the parameter method is unknown</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/HttpMethod.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-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses.html">All&nbsp;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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#enum.constant.summary">Enum Constants</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#enum.constant.detail">Enum Constants</a>&nbsp;|&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 1995&#x2013;2022 <a href="https://webtide.com">Webtide</a>. All rights reserved.</small></p>
</footer>
</body>
</html>