Enum InvocationType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<InvocationType>

    public enum InvocationType
    extends java.lang.Enum<InvocationType>
    An enum containing different types of context menu invocations.
    • Enum Constant Detail

      • MESSAGE_EDITOR_REQUEST

        public static final InvocationType MESSAGE_EDITOR_REQUEST
      • MESSAGE_EDITOR_RESPONSE

        public static final InvocationType MESSAGE_EDITOR_RESPONSE
      • MESSAGE_VIEWER_REQUEST

        public static final InvocationType MESSAGE_VIEWER_REQUEST
      • MESSAGE_VIEWER_RESPONSE

        public static final InvocationType MESSAGE_VIEWER_RESPONSE
      • INTRUDER_PAYLOAD_POSITIONS

        public static final InvocationType INTRUDER_PAYLOAD_POSITIONS
      • INTRUDER_ATTACK_RESULTS

        public static final InvocationType INTRUDER_ATTACK_RESULTS
    • Method Detail

      • values

        public static InvocationType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (InvocationType c : InvocationType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static InvocationType valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • containsHttpMessage

        public boolean containsHttpMessage()
        Returns:
        A helper method to ask if this type contains HTTP messages.
      • containsHttpRequestResponses

        public boolean containsHttpRequestResponses()
        Returns:
        A helper method to ask if this type contains HTTP request/responses.
      • containsScanIssues

        public boolean containsScanIssues()
        Returns:
        A helper method to ask if this type contains any scan issues.