Class GoAwayFrame


  • public class GoAwayFrame
    extends Frame
    • Field Detail

    • Constructor Detail

      • GoAwayFrame

        public GoAwayFrame​(int lastStreamId,
                           int error,
                           byte[] payload)
    • Method Detail

      • isGraceful

        public boolean isGraceful()
        Returns:
        whether this GOAWAY frame is graceful, i.e. its lastStreamId == Integer.MAX_VALUE
      • getLastStreamId

        public int getLastStreamId()
      • getError

        public int getError()
      • getPayload

        public byte[] getPayload()
      • tryConvertPayload

        public java.lang.String tryConvertPayload()
      • toString

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