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.
| Modifier and Type | Class and Description |
|---|---|
| public static enum | FormMethodOverwriter.
Options for property |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | DEFAULT_HIDDEN_FIELD_NAME
The default name of the hidden form field used to overwrite the HTTP method. |
| public static final String | FORM_METHOD_OVERWRITE
Property that can be used to enable the Form method overwrite mechanism for an application. |
| 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. |
| Access | Constructor and Description |
|---|---|
| public |
| DEFAULT_HIDDEN_FIELD_NAME | back to summary |
|---|---|
| public static final String DEFAULT_HIDDEN_FIELD_NAME The default name of the hidden form field used to overwrite the HTTP method. | |
| FORM_METHOD_OVERWRITE | back to summary |
|---|---|
| public static final String 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 type | |
| HIDDEN_FIELD_NAME | back to summary |
|---|---|
| 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. | |
| FormMethodOverwriter | back to summary |
|---|---|
| public FormMethodOverwriter() | |
FormMethodOverwriter#FORM_METHOD_OVERWRITE.
| Modifier and Type | Field and Description |
|---|---|
| public static final FormMethodOverwriter. | DISABLED
Form method overwrite is not enabled. |
| public static final FormMethodOverwriter. | ENABLED
Form method overwrite is enabled. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static FormMethodOverwriter. | |
| public static FormMethodOverwriter. |
| DISABLED | back to summary |
|---|---|
| public static final FormMethodOverwriter. Form method overwrite is not enabled. | |
| ENABLED | back to summary |
|---|---|
| public static final FormMethodOverwriter. Form method overwrite is enabled. Each request will be checked for potential overwrites. | |
| Options | back to summary |
|---|---|
| private Options() | |
| valueOf | back to summary |
|---|---|
| public static FormMethodOverwriter. | |
| values | back to summary |
|---|---|
| public static FormMethodOverwriter. | |