Enum LaravelUi5\Core\Enums\HttpMethod

implements BackedEnum

Enum representing supported HTTP methods.

This enum is used across the LaravelUi5 core to reason about request semantics, especially in the context of Ui5Actions.

  • GET/HEAD/OPTIONS are considered safe/read-only methods.
  • POST/PUT/PATCH/DELETE are considered write/unsafe methods.

Note on Ui5Actions: Ui5Actions intentionally support only POST, PATCH and DELETE. PUT is included in the enum for completeness, but is excluded from Ui5Actions because full-resource replacement semantics are not practical in typical SAP/OpenUI5 scenarios.

Cases
Methods