Enum InternalResponseCode

    • Enum Constant Detail

      • ABORT

        public static final InternalResponseCode ABORT
        Abort the exception, an exception should be thrown.
      • CONTINUE_AND_REDIRECT

        public static final InternalResponseCode CONTINUE_AND_REDIRECT
        Send the redirect to the client instead of page rendering. The Redirect will be executed at the END of the processing of all Handler.
      • CANCEL_AND_REDIRECT

        public static final InternalResponseCode CANCEL_AND_REDIRECT
        Cancel further execution and redirect immediately.
      • ERROR_AND_CONTINUE

        public static final InternalResponseCode ERROR_AND_CONTINUE
        A part of the exception encountered an error, but the application can still resume processing, only a part is broken.
      • STOP

        public static final InternalResponseCode STOP
        Stop all further processing, since the request has been handled.
    • Method Detail

      • values

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

        public static InternalResponseCode 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