public interface HttpMethod
Modifier and Type | Method and Description |
---|---|
String |
getName()
The name of the method, always in upper case.
|
boolean |
isDelete()
True if the method is DELETE.
|
boolean |
isGet()
True if the method is GET or HEAD.
|
boolean |
isHead()
True if the method is HEAD.
|
boolean |
isOptions()
True if the method is OPTIONS.
|
boolean |
isPatch()
True if the method is PATCH.
|
boolean |
isPost()
True if the method is POST.
|
boolean |
isPut()
True if the method is PUT.
|
boolean |
name(String name)
Returns true if the method has the given name, insensitive to case.
|
String getName()
boolean isPost()
boolean isGet()
boolean isPut()
boolean isPatch()
boolean isDelete()
boolean isOptions()
boolean isHead()