Module jakarta.mvc

Class FormMethodOverwriter


  • public final class FormMethodOverwriter
    extends Object

    Form method overwriter is used to overwrite a HTML form's HTTP method to be able to use other verbs such as PATCH or DELETE.

    Since:
    2.1
    Author:
    Tobias Erdle
    • Field Detail

      • HIDDEN_FIELD_NAME

        public static final String HIDDEN_FIELD_NAME
        Property that can be used to configure the name of the hidden form input to get the targeted HTTP method.
        See Also:
        Constant Field Values
      • DEFAULT_HIDDEN_FIELD_NAME

        public static final String DEFAULT_HIDDEN_FIELD_NAME
        The default name of the hidden form field used to overwrite the HTTP method.
        See Also:
        Constant Field Values
    • Constructor Detail

      • FormMethodOverwriter

        public FormMethodOverwriter()