1 /* 2 * Licensed to the Apache Software Foundation (ASF) under one 3 * or more contributor license agreements. See the NOTICE file 4 * distributed with this work for additional information 5 * regarding copyright ownership. The ASF licenses this file 6 * to you under the Apache License, Version 2.0 (the 7 * "License"); you may not use this file except in compliance 8 * with the License. You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, 13 * software distributed under the License is distributed on an 14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 * KIND, either express or implied. See the License for the 16 * specific language governing permissions and limitations 17 * under the License. 18 * 19 */ 20 package org.apache.mina.http.api; 21 22 /** 23 * The HTTP method, one of GET, HEAD, POST, PUT, DELETE, OPTIONS, TRACE, CONNECT 24 * 25 * @author <a href="http://mina.apache.org">Apache MINA Project</a> 26 */ 27 public enum HttpMethod { 28 /** The OPTIONS method */ 29 OPTIONS, 30 31 /** The GET method */ 32 GET, 33 34 /** The HEAD method */ 35 HEAD, 36 37 /** The POST method */ 38 POST, 39 40 /** The PUT method */ 41 PUT, 42 43 /** The PATCH method */ 44 PATCH, 45 46 /** The COPY method */ 47 COPY, 48 49 /** The MOVE method */ 50 MOVE, 51 52 /** The DELETE method */ 53 DELETE, 54 55 /** The LINK method */ 56 LINK, 57 58 /** The UNLINK method */ 59 UNLINK, 60 61 /** The TRACE method */ 62 TRACE, 63 64 /** The WRAPPED method */ 65 WRAPPED, 66 67 /** The CONNECT method */ 68 CONNECT 69 }