@ChannelHandler.Sharable protected abstract class HttpProxyConnection.RequestWrittenMonitor extends ChannelOutboundHandlerAdapter
ChannelHandler.Sharable| 限定符 | 构造器和说明 |
|---|---|
protected |
RequestWrittenMonitor() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract void |
contentWritten(io.netty.handler.codec.http.HttpContent httpContent)
Invoked immediately after an HttpContent has been sent.
|
protected abstract void |
requestWriting(io.netty.handler.codec.http.HttpRequest httpRequest)
Invoked immediately before an HttpRequest is written.
|
protected abstract void |
requestWritten(io.netty.handler.codec.http.HttpRequest httpRequest)
Invoked immediately after an HttpRequest has been sent.
|
void |
write(ChannelHandlerContext ctx,
Object msg,
ChannelPromise promise) |
bind, close, connect, deregister, disconnect, flush, readensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexceptionCaught, handlerAdded, handlerRemovedpublic void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) throws Exception
write 在接口中 ChannelOutboundHandlerwrite 在类中 ChannelOutboundHandlerAdapterExceptionprotected abstract void requestWriting(io.netty.handler.codec.http.HttpRequest httpRequest)
httpRequest - http requestprotected abstract void requestWritten(io.netty.handler.codec.http.HttpRequest httpRequest)
httpRequest - http requestprotected abstract void contentWritten(io.netty.handler.codec.http.HttpContent httpContent)
httpContent - http contentCopyright © 2022 Zodiac. All rights reserved.