Polishing
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user