Commit 6020cb67 authored by Andy Wilkinson's avatar Andy Wilkinson

Polish javadoc of status method on WebFluxTags and WebMvcTags

parent d7d5cbf9
...@@ -60,10 +60,10 @@ public final class WebFluxTags { ...@@ -60,10 +60,10 @@ public final class WebFluxTags {
} }
/** /**
* Creates a {@code method} tag based on the response status of the given * Creates a {@code status} tag based on the response status of the given
* {@code exchange}. * {@code exchange}.
* @param exchange the exchange * @param exchange the exchange
* @return the "status" tag derived from the response status * @return the status tag derived from the response status
*/ */
public static Tag status(ServerWebExchange exchange) { public static Tag status(ServerWebExchange exchange) {
HttpStatus status = exchange.getResponse().getStatusCode(); HttpStatus status = exchange.getResponse().getStatusCode();
......
...@@ -64,7 +64,7 @@ public final class WebMvcTags { ...@@ -64,7 +64,7 @@ public final class WebMvcTags {
} }
/** /**
* Creates a {@code method} tag based on the status of the given {@code response}. * Creates a {@code status} tag based on the status of the given {@code response}.
* @param response the HTTP response * @param response the HTTP response
* @return the status tag derived from the status of the response * @return the status tag derived from the status of the response
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment