Skip to content

Commit

Permalink
Javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
poutsma committed Jul 14, 2022
1 parent f145b53 commit db43425
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,13 @@ public interface ServerRequest {

/**
* Get the HTTP method.
* @return the HTTP method as an HttpMethod enum value, or {@code null}
* if not resolvable (e.g. in case of a non-standard HTTP method)
*/
HttpMethod method();

/**
* Get the name of the HTTP method.
* @return the HTTP method as a String
* @deprecated in favor of {@link #method()}
* @deprecated as of 6.0, in favor of {@link #method()}
*/
@Deprecated
String methodName();
Expand Down

0 comments on commit db43425

Please sign in to comment.