Enum AuthorizationIssueResponse.Action

    • Enum Constant Detail

      • INTERNAL_SERVER_ERROR

        public static final AuthorizationIssueResponse.Action INTERNAL_SERVER_ERROR
        The request from the service implementation was wrong or an error occurred in Authlete, so the service implementation should return "500 Internal Server Error" to the client application.
      • BAD_REQUEST

        public static final AuthorizationIssueResponse.Action BAD_REQUEST
        The ticket was no longer valid. The service implementation should return "400 Bad Request" to the client application.
      • LOCATION

        public static final AuthorizationIssueResponse.Action LOCATION
        The service implementation should return "302 Found" to the client application with "Location" header.
      • FORM

        public static final AuthorizationIssueResponse.Action FORM
        The service implementation should return "200 OK" to the client application with an HTML which triggers redirection.
    • Method Detail

      • values

        public static AuthorizationIssueResponse.Action[] 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 (AuthorizationIssueResponse.Action c : AuthorizationIssueResponse.Action.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AuthorizationIssueResponse.Action 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