Interface RequestMethod
- All Known Implementing Classes:
Methods
public interface RequestMethod
HTTP Request Method
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanequals(@NotNull RequestMethod first, @NotNull RequestMethod second) Checks if the givenmethodsare the same.@NotNull StringgetName()Name of thisRequestMethod.static @NotNull RequestMethod
-
Method Details
-
of
-
equals
static boolean equals(@NotNull @NotNull RequestMethod first, @NotNull @NotNull RequestMethod second) Checks if the givenmethodsare the same.- Parameters:
first-RequestMethodsecond-RequestMethod- Returns:
trueifgetName()of bothmethodsare the same
-
getName
Name of thisRequestMethod. for example: "GET"- Returns:
- name as
String
-