Package io.netty.handler.codec.http
Class HttpServerUpgradeHandler.UpgradeEvent
java.lang.Object
io.netty.handler.codec.http.HttpServerUpgradeHandler.UpgradeEvent
- All Implemented Interfaces:
io.netty.util.ReferenceCounted
- Enclosing class:
HttpServerUpgradeHandler
public static final class HttpServerUpgradeHandler.UpgradeEvent
extends Object
implements io.netty.util.ReferenceCounted
User event that is fired to notify about the completion of an HTTP upgrade
to another protocol. Contains the original upgrade request so that the response
(if required) can be sent using the new protocol.
-
Method Details
-
protocol
The protocol that the channel has been upgraded to. -
upgradeRequest
Gets the request that triggered the protocol upgrade. -
refCnt
public int refCnt()- Specified by:
refCntin interfaceio.netty.util.ReferenceCounted
-
retain
- Specified by:
retainin interfaceio.netty.util.ReferenceCounted
-
retain
- Specified by:
retainin interfaceio.netty.util.ReferenceCounted
-
touch
- Specified by:
touchin interfaceio.netty.util.ReferenceCounted
-
touch
- Specified by:
touchin interfaceio.netty.util.ReferenceCounted
-
release
public boolean release()- Specified by:
releasein interfaceio.netty.util.ReferenceCounted
-
release
public boolean release(int decrement) - Specified by:
releasein interfaceio.netty.util.ReferenceCounted
-
toString
-