Skip to content

Commit b52b56c

Browse files
committed
Update to the latest Reactory Netty snapshot
1 parent 99be15f commit b52b56c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spring-web/src/main/java/org/springframework/http/server/reactive/ReactorHttpHandlerAdapter.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,21 @@
1616

1717
package org.springframework.http.server.reactive;
1818

19-
import io.netty.buffer.ByteBuf;
19+
import java.util.function.Function;
20+
2021
import reactor.core.publisher.Mono;
21-
import reactor.io.ipc.ChannelHandler;
2222
import reactor.io.netty.http.HttpChannel;
2323

2424
import org.springframework.core.io.buffer.NettyDataBufferFactory;
2525
import org.springframework.util.Assert;
2626

2727
/**
28-
* Adapt {@link HttpHandler} to the Reactor Netty {@link ChannelHandler}.
28+
* Adapt {@link HttpHandler} to the Reactor Netty channel handling function.
2929
*
3030
* @author Stephane Maldini
3131
* @since 5.0
3232
*/
33-
public class ReactorHttpHandlerAdapter implements ChannelHandler<ByteBuf, ByteBuf, HttpChannel> {
33+
public class ReactorHttpHandlerAdapter implements Function<HttpChannel, Mono<Void>> {
3434

3535
private final HttpHandler httpHandler;
3636

0 commit comments

Comments
 (0)