Annotation Interface FormMethod


@Documented public @interface FormMethod
An enumeration specifying the HTTP method to submit the form with.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    When the form is inside a <dialog>, closes the dialog on submission.
    static final String
    The GET method; form data appended to the action URL with a ? separator.
    static final String
    The POST method; form data sent as the request body.
  • Field Details

    • post

      static final String post
      The POST method; form data sent as the request body.
      See Also:
    • get

      static final String get
      The GET method; form data appended to the action URL with a ? separator. Use this method when the form has no side-effects.
      See Also:
    • dialog

      static final String dialog
      When the form is inside a <dialog>, closes the dialog on submission.
      See Also: