Initial commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package de.craftix.api;
|
||||
|
||||
public enum RequestMethod {
|
||||
GET("GET"),
|
||||
POST("POST"),
|
||||
PUT("PUT"),
|
||||
DELETE("DELETE");
|
||||
|
||||
private final String type;
|
||||
|
||||
RequestMethod(String type) { this.type = type; }
|
||||
|
||||
public String getType() { return type; }
|
||||
|
||||
@Override
|
||||
public String toString() { return type; }
|
||||
}
|
||||
Reference in New Issue
Block a user