Class DefaultSpdyPingFrame

java.lang.Object
io.netty.handler.codec.spdy.DefaultSpdyPingFrame
All Implemented Interfaces:
SpdyFrame, SpdyPingFrame

public class DefaultSpdyPingFrame extends java.lang.Object implements SpdyPingFrame
The default SpdyPingFrame implementation.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    id()
    Returns the ID of this frame.
    setId(int id)
    Sets the ID of this frame.
    java.lang.String
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • id

      private int id
  • Constructor Details

    • DefaultSpdyPingFrame

      public DefaultSpdyPingFrame(int id)
      Creates a new instance.
      Parameters:
      id - the unique ID of this frame
  • Method Details

    • id

      public int id()
      Description copied from interface: SpdyPingFrame
      Returns the ID of this frame.
      Specified by:
      id in interface SpdyPingFrame
    • setId

      public SpdyPingFrame setId(int id)
      Description copied from interface: SpdyPingFrame
      Sets the ID of this frame.
      Specified by:
      setId in interface SpdyPingFrame
    • toString

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