Enum Class PausedStreamFrame.Direction

java.lang.Object
java.lang.Enum<PausedStreamFrame.Direction>
org.mockserver.mock.breakpoint.PausedStreamFrame.Direction
All Implemented Interfaces:
Serializable, Comparable<PausedStreamFrame.Direction>, Constable
Enclosing class:
PausedStreamFrame

public static enum PausedStreamFrame.Direction extends Enum<PausedStreamFrame.Direction>
Direction of the paused frame relative to MockServer.
  • Enum Constant Details

    • OUTBOUND

      public static final PausedStreamFrame.Direction OUTBOUND
      Server-to-client (outbound): a response/push frame sent TO the client.
    • INBOUND

      public static final PausedStreamFrame.Direction INBOUND
      Client-to-server (inbound): a frame received FROM the client, before processing.
  • Method Details

    • values

      public static PausedStreamFrame.Direction[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PausedStreamFrame.Direction valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null