Update to Reactor 2.1.0.BUILD-SNAPSHOT
This commit is contained in:
@@ -18,7 +18,6 @@ package org.springframework.reactive.web.http;
|
||||
import org.springframework.beans.factory.InitializingBean;
|
||||
import org.springframework.reactive.web.http.reactor.RequestHandlerAdapter;
|
||||
import org.springframework.util.Assert;
|
||||
import reactor.Environment;
|
||||
import reactor.bus.selector.Selectors;
|
||||
import reactor.io.buffer.Buffer;
|
||||
import reactor.io.net.NetStreams;
|
||||
@@ -48,8 +47,6 @@ public class ReactorHttpServer extends HttpServerSupport implements Initializing
|
||||
Assert.notNull(getHttpHandler());
|
||||
this.reactorHandler = new RequestHandlerAdapter(getHttpHandler());
|
||||
|
||||
Environment.initializeIfEmpty();
|
||||
|
||||
this.reactorServer = (getPort() != -1 ?
|
||||
NetStreams.httpServer(getPort()) :
|
||||
NetStreams.httpServer());
|
||||
|
||||
Reference in New Issue
Block a user