001package org.w3.ldp.testsuite.http; 002 003public enum HttpMethod { 004 005 GET("GET"), 006 PUT("PUT"), 007 POST("POST"), 008 DELETE("DELETE"), 009 PATCH("PATCH"), 010 HEAD("HEAD"), 011 OPTIONS("OPTIONS"); 012 013 private String name; 014 015 HttpMethod(String name) { 016 this.name = name; 017 } 018 019 public String getName() { 020 return name; 021 } 022 023}