Polishing

This commit is contained in:
Sebastien Deleuze
2015-10-30 11:02:40 +01:00
parent b2bf18dd3d
commit a257a4a37d
2 changed files with 3 additions and 6 deletions

View File

@@ -16,8 +16,6 @@
package org.springframework.http.client;
import java.io.Closeable;
import org.springframework.http.HttpStatus;
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 as an HttpStatus enum value
* @return the HTTP status as an {@link HttpStatus} enum value
*/
HttpStatus getStatusCode();

View File

@@ -26,12 +26,11 @@ import org.springframework.http.ReactiveHttpOutputMessage;
*
* @author Arjen Poutsma
*/
public interface ReactiveServerHttpResponse
extends ReactiveHttpOutputMessage {
public interface ReactiveServerHttpResponse extends ReactiveHttpOutputMessage {
/**
* 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);