Browse Source

Javadoc

pull/28834/head
Arjen Poutsma 2 years ago
parent
commit
db43425bf9
  1. 4
      spring-webflux/src/main/java/org/springframework/web/reactive/function/server/ServerRequest.java

4
spring-webflux/src/main/java/org/springframework/web/reactive/function/server/ServerRequest.java

@ -67,15 +67,13 @@ public interface ServerRequest { @@ -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();

Loading…
Cancel
Save