From 5f2e958faeea3f5d8a73b4e4bb85a57b697960dc Mon Sep 17 00:00:00 2001 From: Arjen Poutsma Date: Fri, 30 Oct 2015 09:38:29 +0100 Subject: [PATCH] Removed IOException declaration --- .../http/client/ReactiveClientHttpResponse.java | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/spring-web-reactive/src/main/java/org/springframework/http/client/ReactiveClientHttpResponse.java b/spring-web-reactive/src/main/java/org/springframework/http/client/ReactiveClientHttpResponse.java index b5f619bdc9..5d120fb26d 100644 --- a/spring-web-reactive/src/main/java/org/springframework/http/client/ReactiveClientHttpResponse.java +++ b/spring-web-reactive/src/main/java/org/springframework/http/client/ReactiveClientHttpResponse.java @@ -17,7 +17,6 @@ package org.springframework.http.client; import java.io.Closeable; -import java.io.IOException; import org.springframework.http.HttpStatus; import org.springframework.http.ReactiveHttpInputMessage; @@ -32,23 +31,20 @@ public interface ReactiveClientHttpResponse extends ReactiveHttpInputMessage, Cl /** * Return the HTTP status code of the response. * @return the HTTP status as an HttpStatus enum value - * @throws IOException in case of I/O errors */ - HttpStatus getStatusCode() throws IOException; + HttpStatus getStatusCode(); /** * Return the HTTP status code of the response as integer * @return the HTTP status as an integer - * @throws IOException in case of I/O errors */ - int getRawStatusCode() throws IOException; + int getRawStatusCode(); /** * Return the HTTP status text of the response. * @return the HTTP status text - * @throws IOException in case of I/O errors */ - String getStatusText() throws IOException; + String getStatusText(); /** * Close this response, freeing any resources created.