= "GET" case HEAD = "HEAD" case POST = "POST" case PUT = "PUT" case PATCH = "PATCH" case DELETE = "DELETE" case TRACE = "TRACE" case CONNECT = "CONNECT" } Method.GET.toRaw() // "GET" Method.fromRaw("INVALID") // nil Method.fromRaw("GET") // Method.GET