update package

This commit is contained in:
Stephane Maldini 2016-03-11 22:15:11 +00:00
parent f02492e15f
commit 13ddfb4aab
7 changed files with 16 additions and 16 deletions

View File

@ -22,8 +22,8 @@ import org.reactivestreams.Publisher;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
import reactor.io.buffer.Buffer;
import reactor.io.net.http.HttpClient;
import reactor.io.net.http.model.Method;
import reactor.io.netty.http.HttpClient;
import reactor.io.netty.http.model.Method;
import org.springframework.core.io.buffer.DataBuffer;
import org.springframework.core.io.buffer.DataBufferAllocator;

View File

@ -20,7 +20,7 @@ import java.nio.ByteBuffer;
import reactor.core.publisher.Flux;
import reactor.io.buffer.Buffer;
import reactor.io.net.http.HttpChannel;
import reactor.io.netty.http.HttpChannel;
import org.springframework.core.io.buffer.DataBuffer;
import org.springframework.core.io.buffer.DataBufferAllocator;
@ -31,7 +31,7 @@ import org.springframework.http.HttpStatus;
* {@link ClientHttpResponse} implementation for the Reactor Net HTTP client
*
* @author Brian Clozel
* @see reactor.io.net.http.HttpClient
* @see reactor.io.netty.http.HttpClient
*/
public class ReactorClientHttpResponse implements ClientHttpResponse {

View File

@ -18,8 +18,8 @@ package org.springframework.http.client.reactive;
import java.net.URI;
import reactor.io.net.ReactiveNet;
import reactor.io.net.http.HttpClient;
import reactor.io.netty.ReactiveNet;
import reactor.io.netty.http.HttpClient;
import org.springframework.core.io.buffer.DataBufferAllocator;
import org.springframework.core.io.buffer.DefaultDataBufferAllocator;

View File

@ -17,8 +17,8 @@ package org.springframework.http.server.reactive;
import reactor.core.publisher.Mono;
import reactor.io.buffer.Buffer;
import reactor.io.net.ReactiveChannelHandler;
import reactor.io.net.http.HttpChannel;
import reactor.io.ipc.ChannelFluxHandler;
import reactor.io.netty.http.HttpChannel;
import org.springframework.core.io.buffer.DataBufferAllocator;
import org.springframework.util.Assert;
@ -27,7 +27,7 @@ import org.springframework.util.Assert;
* @author Stephane Maldini
*/
public class ReactorHttpHandlerAdapter
implements ReactiveChannelHandler<Buffer, Buffer, HttpChannel<Buffer, Buffer>> {
implements ChannelFluxHandler<Buffer, Buffer, HttpChannel<Buffer, Buffer>> {
private final HttpHandler httpHandler;

View File

@ -21,8 +21,8 @@ import java.nio.ByteBuffer;
import reactor.core.publisher.Flux;
import reactor.io.buffer.Buffer;
import reactor.io.net.http.HttpChannel;
import reactor.io.net.http.model.Cookie;
import reactor.io.netty.http.HttpChannel;
import reactor.io.netty.http.model.Cookie;
import org.springframework.core.io.buffer.DataBuffer;
import org.springframework.core.io.buffer.DataBufferAllocator;

View File

@ -22,9 +22,9 @@ import org.reactivestreams.Publisher;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
import reactor.io.buffer.Buffer;
import reactor.io.net.http.HttpChannel;
import reactor.io.net.http.model.Cookie;
import reactor.io.net.http.model.Status;
import reactor.io.netty.http.HttpChannel;
import reactor.io.netty.http.model.Cookie;
import reactor.io.netty.http.model.Status;
import org.springframework.core.io.buffer.DataBuffer;
import org.springframework.http.HttpStatus;

View File

@ -19,7 +19,7 @@ package org.springframework.http.server.reactive.boot;
import reactor.core.flow.Loopback;
import reactor.core.state.Completable;
import reactor.io.buffer.Buffer;
import reactor.io.net.ReactiveNet;
import reactor.io.netty.ReactiveNet;
import org.springframework.core.io.buffer.DataBufferAllocator;
import org.springframework.core.io.buffer.DefaultDataBufferAllocator;
@ -34,7 +34,7 @@ public class ReactorHttpServer extends HttpServerSupport
private ReactorHttpHandlerAdapter reactorHandler;
private reactor.io.net.http.HttpServer<Buffer, Buffer> reactorServer;
private reactor.io.netty.http.HttpServer<Buffer, Buffer> reactorServer;
private DataBufferAllocator allocator = new DefaultDataBufferAllocator();