Enum Class RequestAction

java.lang.Object
java.lang.Enum<RequestAction>
burp.api.montoya.http.handler.RequestAction
All Implemented Interfaces:
Serializable, Comparable<RequestAction>, Constable

public enum RequestAction extends Enum<RequestAction>
Action to be taken when handling outbound HTTP requests.
  • Enum Constant Details

    • CONTINUE

      public static final RequestAction CONTINUE
      Causes Burp to send the request.
    • DROP

      public static final RequestAction DROP
      Causes Burp to drop the request.
    • SPOOF_RESPONSE

      public static final RequestAction SPOOF_RESPONSE
      Causes Burp to suppress the issuing of the request use a spoofed response.
  • Method Details

    • values

      public static RequestAction[] 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 RequestAction 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