From a12c172ceba7d2403f3de3684300cbadfba4c240 Mon Sep 17 00:00:00 2001 From: Rossen Stoyanchev Date: Tue, 29 Dec 2015 17:11:01 -0500 Subject: [PATCH] Switch to rxnetty-http dependency The "rxnetty" artifact is old (October 2015). There is now rxnetty-http and other modules that have more recent snapshots (December 2015). --- spring-web-reactive/build.gradle | 2 +- .../http/server/reactive/RxNettyHttpHandlerAdapter.java | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) 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; /**