Package io.netty.handler.codec.http2
Class Http2StreamChannelId
java.lang.Object
io.netty.handler.codec.http2.Http2StreamChannelId
- All Implemented Interfaces:
ChannelId
,Serializable
,Comparable<ChannelId>
ChannelId implementation which is used by our
Http2StreamChannel
implementation.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
private final ChannelId
private static final long
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
id
private final int id -
parentId
-
-
Constructor Details
-
Http2StreamChannelId
Http2StreamChannelId(ChannelId parentId, int id)
-
-
Method Details
-
asShortText
Description copied from interface:ChannelId
Returns the short but globally non-unique string representation of theChannelId
.- Specified by:
asShortText
in interfaceChannelId
-
asLongText
Description copied from interface:ChannelId
Returns the long yet globally unique string representation of theChannelId
.- Specified by:
asLongText
in interfaceChannelId
-
compareTo
- Specified by:
compareTo
in interfaceComparable<ChannelId>
-
hashCode
public int hashCode() -
equals
-
toString
-