GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add ChannelOutboundInvoker.register(...) and ChannelOutboundHandler.r… · netty/netty@199733e

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • codec-http2/src
    • main/java/io/netty/handler/codec/http2
      • Http2ConnectionHandler.java
    • test/java/io/netty/handler/codec/http2
      • Http2FrameInboundWriter.java
  • codec-http3/src/main/java/io/netty/handler/codec/http3
    • Http3FrameCodec.java
    • Http3FrameToHttpObjectCodec.java
    • Http3FrameTypeDuplexValidationHandler.java
  • codec-http/src/main/java/io/netty/handler/codec
    • http
      • HttpClientUpgradeHandler.java
      • websocketx
        • WebSocketProtocolHandler.java
    • spdy
      • SpdyFrameCodec.java
  • handler-proxy/src/main/java/io/netty/handler/proxy
    • HttpProxyHandler.java
  • handler/src/main/java/io/netty/handler/ssl
    • SslClientHelloHandler.java
    • SslHandler.java
  • microbench/src/main/java/io/netty/microbench/channel
    • EmbeddedChannelHandlerContext.java
  • transport/src
    • main/java/io/netty
      • bootstrap
        • ServerBootstrap.java
      • channel
        • AbstractChannel.java
        • AbstractChannelHandlerContext.java
        • Channel.java
        • ChannelDuplexHandler.java
        • ChannelHandlerMask.java
        • ChannelOutboundHandler.java
        • ChannelOutboundHandlerAdapter.java
        • ChannelOutboundInvoker.java
        • CombinedChannelDuplexHandler.java
        • DefaultChannelPipeline.java
    • test/java/io/netty/channel
      • DefaultChannelPipelineTest.java
      • LoggingHandler.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎codec-http/src/main/java/io/netty/handler/codec/http/HttpClientUpgradeHandler.java‎

Copy file name to clipboardExpand all lines: codec-http/src/main/java/io/netty/handler/codec/http/HttpClientUpgradeHandler.java
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,11 @@ public HttpClientUpgradeHandler(SourceCodec sourceCodec, UpgradeCodec upgradeCod
121121
this.upgradeCodec = ObjectUtil.checkNotNull(upgradeCodec, "upgradeCodec");
122122
}
123123

124+
@Override
125+
public void register(ChannelHandlerContext ctx, ChannelPromise promise) throws Exception {
126+
ctx.register(promise);
127+
}
128+
124129
@Override
125130
public void bind(ChannelHandlerContext ctx, SocketAddress localAddress, ChannelPromise promise) throws Exception {
126131
ctx.bind(localAddress, promise);
Collapse file

‎codec-http/src/main/java/io/netty/handler/codec/http/websocketx/WebSocketProtocolHandler.java‎

Copy file name to clipboardExpand all lines: codec-http/src/main/java/io/netty/handler/codec/http/websocketx/WebSocketProtocolHandler.java
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,11 @@ protected WebSocketHandshakeException buildHandshakeException(String message) {
154154
return new WebSocketHandshakeException(message);
155155
}
156156

157+
@Override
158+
public void register(ChannelHandlerContext ctx, ChannelPromise promise) throws Exception {
159+
ctx.register(promise);
160+
}
161+
157162
@Override
158163
public void bind(ChannelHandlerContext ctx, SocketAddress localAddress,
159164
ChannelPromise promise) throws Exception {
Collapse file

‎codec-http/src/main/java/io/netty/handler/codec/spdy/SpdyFrameCodec.java‎

Copy file name to clipboardExpand all lines: codec-http/src/main/java/io/netty/handler/codec/spdy/SpdyFrameCodec.java
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,11 @@ public void channelReadComplete(ChannelHandlerContext ctx) throws Exception {
174174
super.channelReadComplete(ctx);
175175
}
176176

177+
@Override
178+
public void register(ChannelHandlerContext ctx, ChannelPromise promise) throws Exception {
179+
ctx.register(promise);
180+
}
181+
177182
@Override
178183
public void bind(ChannelHandlerContext ctx, SocketAddress localAddress, ChannelPromise promise) throws Exception {
179184
ctx.bind(localAddress, promise);
Collapse file

‎codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionHandler.java‎

Copy file name to clipboardExpand all lines: codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionHandler.java
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,11 @@ protected void decode(ChannelHandlerContext ctx, ByteBuf in, List<Object> out) t
451451
byteDecoder.decode(ctx, in, out);
452452
}
453453

454+
@Override
455+
public void register(ChannelHandlerContext ctx, ChannelPromise promise) throws Exception {
456+
ctx.register(promise);
457+
}
458+
454459
@Override
455460
public void bind(ChannelHandlerContext ctx, SocketAddress localAddress, ChannelPromise promise) throws Exception {
456461
ctx.bind(localAddress, promise);
Collapse file

‎codec-http2/src/test/java/io/netty/handler/codec/http2/Http2FrameInboundWriter.java‎

Copy file name to clipboardExpand all lines: codec-http2/src/test/java/io/netty/handler/codec/http2/Http2FrameInboundWriter.java
+10Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,16 @@ public <T> boolean hasAttr(AttributeKey<T> key) {
225225
return channel.hasAttr(key);
226226
}
227227

228+
@Override
229+
public ChannelFuture register(ChannelPromise promise) {
230+
return channel.register(promise);
231+
}
232+
233+
@Override
234+
public ChannelFuture register() {
235+
return channel.register();
236+
}
237+
228238
@Override
229239
public ChannelFuture bind(SocketAddress localAddress) {
230240
return channel.bind(localAddress);
Collapse file

‎codec-http3/src/main/java/io/netty/handler/codec/http3/Http3FrameCodec.java‎

Copy file name to clipboardExpand all lines: codec-http3/src/main/java/io/netty/handler/codec/http3/Http3FrameCodec.java
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,11 @@ private static void unsupported(ChannelPromise promise) {
602602
promise.setFailure(new UnsupportedOperationException());
603603
}
604604

605+
@Override
606+
public void register(ChannelHandlerContext ctx, ChannelPromise promise) {
607+
ctx.register(promise);
608+
}
609+
605610
@Override
606611
public void bind(ChannelHandlerContext ctx, SocketAddress localAddress, ChannelPromise promise) {
607612
ctx.bind(localAddress, promise);
Collapse file

‎codec-http3/src/main/java/io/netty/handler/codec/http3/Http3FrameToHttpObjectCodec.java‎

Copy file name to clipboardExpand all lines: codec-http3/src/main/java/io/netty/handler/codec/http3/Http3FrameToHttpObjectCodec.java
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,11 @@ public void flush(ChannelHandlerContext ctx) {
260260
ctx.flush();
261261
}
262262

263+
@Override
264+
public void register(ChannelHandlerContext ctx, ChannelPromise promise) throws Exception {
265+
ctx.register(promise);
266+
}
267+
263268
@Override
264269
public void bind(ChannelHandlerContext ctx, SocketAddress localAddress, ChannelPromise promise) {
265270
ctx.bind(localAddress, promise);
Collapse file

‎codec-http3/src/main/java/io/netty/handler/codec/http3/Http3FrameTypeDuplexValidationHandler.java‎

Copy file name to clipboardExpand all lines: codec-http3/src/main/java/io/netty/handler/codec/http3/Http3FrameTypeDuplexValidationHandler.java
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ public void flush(ChannelHandlerContext ctx) {
5454
ctx.flush();
5555
}
5656

57+
@Override
58+
public void register(ChannelHandlerContext ctx, ChannelPromise promise) {
59+
ctx.register(promise);
60+
}
61+
5762
@Override
5863
public void bind(ChannelHandlerContext ctx, SocketAddress localAddress, ChannelPromise promise) {
5964
ctx.bind(localAddress, promise);
Collapse file

‎handler-proxy/src/main/java/io/netty/handler/proxy/HttpProxyHandler.java‎

Copy file name to clipboardExpand all lines: handler-proxy/src/main/java/io/netty/handler/proxy/HttpProxyHandler.java
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,11 @@ public void channelWritabilityChanged(ChannelHandlerContext ctx) throws Exceptio
299299
codec.channelWritabilityChanged(ctx);
300300
}
301301

302+
@Override
303+
public void register(ChannelHandlerContext ctx, ChannelPromise promise) throws Exception {
304+
codec.register(ctx, promise);
305+
}
306+
302307
@Override
303308
public void bind(ChannelHandlerContext ctx, SocketAddress localAddress,
304309
ChannelPromise promise) throws Exception {
Collapse file

‎handler/src/main/java/io/netty/handler/ssl/SslClientHelloHandler.java‎

Copy file name to clipboardExpand all lines: handler/src/main/java/io/netty/handler/ssl/SslClientHelloHandler.java
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,11 @@ public void read(ChannelHandlerContext ctx) throws Exception {
306306
}
307307
}
308308

309+
@Override
310+
public void register(ChannelHandlerContext ctx, ChannelPromise promise) throws Exception {
311+
ctx.register(promise);
312+
}
313+
309314
@Override
310315
public void bind(ChannelHandlerContext ctx, SocketAddress localAddress, ChannelPromise promise) throws Exception {
311316
ctx.bind(localAddress, promise);

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.