java.lang.Object
jakarta.mvc.form.FormMethodOverwriter
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
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The default name of the hidden form field used to overwrite the HTTP method.static final String
Property that can be used to enable the Form method overwrite mechanism for an application.static final String
Property that can be used to configure the name of the hidden form input to get the targeted HTTP method. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
FORM_METHOD_OVERWRITE
Property that can be used to enable the Form method overwrite mechanism for an application. Values of this property must be of typeFormMethodOverwriter.Options
.- See Also:
-
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:
-
DEFAULT_HIDDEN_FIELD_NAME
The default name of the hidden form field used to overwrite the HTTP method.- See Also:
-
-
Constructor Details
-
FormMethodOverwriter
public FormMethodOverwriter()
-