master
Sebastien Deleuze 9 years ago
parent b2bf18dd3d
commit a257a4a37d
  1. 4
      spring-web-reactive/src/main/java/org/springframework/http/client/ReactiveClientHttpResponse.java
  2. 5
      spring-web-reactive/src/main/java/org/springframework/http/server/ReactiveServerHttpResponse.java

@ -16,8 +16,6 @@
package org.springframework.http.client; package org.springframework.http.client;
import java.io.Closeable;
import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;
import org.springframework.http.ReactiveHttpInputMessage; import org.springframework.http.ReactiveHttpInputMessage;
@ -30,7 +28,7 @@ public interface ReactiveClientHttpResponse extends ReactiveHttpInputMessage {
/** /**
* Return the HTTP status code of the response. * Return the HTTP status code of the response.
* @return the HTTP status as an HttpStatus enum value * @return the HTTP status as an {@link HttpStatus} enum value
*/ */
HttpStatus getStatusCode(); HttpStatus getStatusCode();

@ -26,12 +26,11 @@ import org.springframework.http.ReactiveHttpOutputMessage;
* *
* @author Arjen Poutsma * @author Arjen Poutsma
*/ */
public interface ReactiveServerHttpResponse public interface ReactiveServerHttpResponse extends ReactiveHttpOutputMessage {
extends ReactiveHttpOutputMessage {
/** /**
* Set the HTTP status code of the response. * Set the HTTP status code of the response.
* @param status the HTTP status as an HttpStatus enum value * @param status the HTTP status as an {@link HttpStatus} enum value
*/ */
void setStatusCode(HttpStatus status); void setStatusCode(HttpStatus status);

Loading…
Cancel
Save