Enum RequestType

java.lang.Object
java.lang.Enum<RequestType>
com.slack.api.bolt.request.RequestType
All Implemented Interfaces:
Serializable, Comparable<RequestType>, java.lang.constant.Constable

public enum RequestType extends Enum<RequestType>
All the possible request types for incoming requests.
  • Enum Constant Details

    • OAuthStart

      public static final RequestType OAuthStart
    • OAuthCallback

      public static final RequestType OAuthCallback
    • Command

      public static final RequestType Command
    • SSLCheck

      public static final RequestType SSLCheck
    • Event

      public static final RequestType Event
    • UrlVerification

      public static final RequestType UrlVerification
    • AttachmentAction

      public static final RequestType AttachmentAction
    • BlockAction

      public static final RequestType BlockAction
    • BlockSuggestion

      public static final RequestType BlockSuggestion
    • GlobalShortcut

      public static final RequestType GlobalShortcut
    • MessageShortcut

      public static final RequestType MessageShortcut
    • DialogSubmission

      public static final RequestType DialogSubmission
    • DialogCancellation

      public static final RequestType DialogCancellation
    • DialogSuggestion

      public static final RequestType DialogSuggestion
    • ViewSubmission

      public static final RequestType ViewSubmission
    • ViewClosed

      public static final RequestType ViewClosed
    • WorkflowStepEdit

      public static final RequestType WorkflowStepEdit
    • WorkflowStepSave

      public static final RequestType WorkflowStepSave
    • WorkflowStepExecute

      public static final RequestType WorkflowStepExecute
  • Method Details

    • values

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

      public static RequestType valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null