Package dev.mayuna.simpleapi
Class RequestMethod
- java.lang.Object
-
- dev.mayuna.simpleapi.RequestMethod
-
public class RequestMethod extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static RequestMethodDELETEstatic RequestMethodGETstatic RequestMethodPOSTstatic RequestMethodPUT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RequestMethodof(java.lang.String name)CreatesRequestMethodwith request method name
-
-
-
Field Detail
-
GET
public static final RequestMethod GET
-
POST
public static final RequestMethod POST
-
PUT
public static final RequestMethod PUT
-
DELETE
public static final RequestMethod DELETE
-
-
Method Detail
-
of
public static RequestMethod of(java.lang.String name)
CreatesRequestMethodwith request method name- Parameters:
name- Non-nullRequestMethodname- Returns:
- Non-null
RequestMethod
-
-