diff --git a/spring-web-reactive/build.gradle b/spring-web-reactive/build.gradle index 5f6300258f..99c780e6d6 100644 --- a/spring-web-reactive/build.gradle +++ b/spring-web-reactive/build.gradle @@ -45,7 +45,7 @@ dependencies { compile "commons-logging:commons-logging:1.2" optional 'io.reactivex:rxjava:1.1.0' - optional "io.reactivex:rxnetty:0.5.0-SNAPSHOT" + optional "io.reactivex:rxnetty-http:0.5.0-SNAPSHOT" optional "com.fasterxml.jackson.core:jackson-databind:2.6.2" optional "io.projectreactor:reactor-stream:${reactorVersion}" optional "io.projectreactor:reactor-net:${reactorVersion}" diff --git a/spring-web-reactive/src/main/java/org/springframework/http/server/reactive/RxNettyHttpHandlerAdapter.java b/spring-web-reactive/src/main/java/org/springframework/http/server/reactive/RxNettyHttpHandlerAdapter.java index 254fcb093f..a3190c8f7c 100644 --- a/spring-web-reactive/src/main/java/org/springframework/http/server/reactive/RxNettyHttpHandlerAdapter.java +++ b/spring-web-reactive/src/main/java/org/springframework/http/server/reactive/RxNettyHttpHandlerAdapter.java @@ -24,9 +24,6 @@ import org.reactivestreams.Publisher; import reactor.core.publisher.convert.RxJava1Converter; import rx.Observable; -import org.springframework.http.server.reactive.HttpHandler; -import org.springframework.http.server.reactive.RxNettyServerHttpRequest; -import org.springframework.http.server.reactive.RxNettyServerHttpResponse; import org.springframework.util.Assert; /**