오타 수정
This commit is contained in:
+2
-2
@@ -13,11 +13,11 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.CompletableFuture;
|
||||
|
||||
public class HttptHandler extends SimpleChannelInboundHandler<FullHttpResponse> {
|
||||
public class HttpHandler extends SimpleChannelInboundHandler<FullHttpResponse> {
|
||||
|
||||
private final CompletableFuture<ApiResponse> responseFuture;
|
||||
|
||||
public HttptHandler(CompletableFuture<ApiResponse> responseFuture) {
|
||||
public HttpHandler(CompletableFuture<ApiResponse> responseFuture) {
|
||||
this.responseFuture = responseFuture;
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@ public class NettyApiClient {
|
||||
ch.pipeline().addLast(new HttpClientCodec());
|
||||
ch.pipeline().addLast(new HttpObjectAggregator(65536));
|
||||
ch.pipeline().addLast(new HttpContentDecompressor());
|
||||
ch.pipeline().addLast(new HttptHandler(responseFuture));
|
||||
ch.pipeline().addLast(new HttpHandler(responseFuture));
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user