Class Http2StreamChannelId

java.lang.Object
io.netty.handler.codec.http2.Http2StreamChannelId
All Implemented Interfaces:
ChannelId, java.io.Serializable, java.lang.Comparable<ChannelId>

final class Http2StreamChannelId extends java.lang.Object implements ChannelId
ChannelId implementation which is used by our Http2StreamChannel implementation.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final int
     
    private final ChannelId
     
    private static final long
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Http2StreamChannelId(ChannelId parentId, int id)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    java.lang.String
    Returns the long yet globally unique string representation of the ChannelId.
    java.lang.String
    Returns the short but globally non-unique string representation of the ChannelId.
    int
     
    boolean
    equals(java.lang.Object obj)
     
    int
     
    int
     
    java.lang.String
     

    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

      private final ChannelId parentId
  • Constructor Details

    • Http2StreamChannelId

      Http2StreamChannelId(ChannelId parentId, int id)
  • Method Details

    • asShortText

      public java.lang.String asShortText()
      Description copied from interface: ChannelId
      Returns the short but globally non-unique string representation of the ChannelId.
      Specified by:
      asShortText in interface ChannelId
    • asLongText

      public java.lang.String asLongText()
      Description copied from interface: ChannelId
      Returns the long yet globally unique string representation of the ChannelId.
      Specified by:
      asLongText in interface ChannelId
    • compareTo

      public int compareTo(ChannelId o)
      Specified by:
      compareTo in interface java.lang.Comparable<ChannelId>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • equals

      public boolean equals(java.lang.Object obj)
      Overrides:
      equals in class java.lang.Object
    • getSequenceId

      public int getSequenceId()
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object