Class GoAwayFrame

java.lang.Object
org.eclipse.jetty.http2.frames.Frame
org.eclipse.jetty.http2.frames.GoAwayFrame

public class GoAwayFrame extends Frame
  • Field Details

  • Constructor Details

    • GoAwayFrame

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

    • 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 String tryConvertPayload()
    • toString

      public String toString()
      Overrides:
      toString in class Frame