methods property

List<String> methods
final

HTTP methods this page responds to.

Defaults to ['GET']. Common values:

  • ['GET'] - Read-only pages
  • ['GET', 'POST'] - Pages with form submissions

Implementation

final List<String> methods;