Class Http2StreamChannelId
java.lang.Object
io.netty.handler.codec.http2.Http2StreamChannelId
ChannelId implementation which is used by our
Http2StreamChannel implementation.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate final ChannelIdprivate static final long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjava.lang.StringReturns the long yet globally unique string representation of theChannelId.java.lang.StringReturns the short but globally non-unique string representation of theChannelId.intbooleanequals(java.lang.Object obj) intinthashCode()java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
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
public java.lang.String asShortText()Description copied from interface:ChannelIdReturns the short but globally non-unique string representation of theChannelId.- Specified by:
asShortTextin interfaceChannelId
-
asLongText
public java.lang.String asLongText()Description copied from interface:ChannelIdReturns the long yet globally unique string representation of theChannelId.- Specified by:
asLongTextin interfaceChannelId
-
compareTo
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj) - Overrides:
equalsin classjava.lang.Object
-
getSequenceId
public int getSequenceId() -
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-