Skip to content

/AWS1/CL_FNTRSPHEADERSPLYACC02

A list of HTTP methods that CloudFront includes as values for the Access-Control-Allow-Methods HTTP response header.

For more information about the Access-Control-Allow-Methods HTTP response header, see Access-Control-Allow-Methods in the MDN Web Docs.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_quantity TYPE /AWS1/FNTINTEGER /AWS1/FNTINTEGER

The number of HTTP methods in the list.

it_items TYPE /AWS1/CL_FNTACCCTLALWMTHSLST_W=>TT_ACCESSCTLALLOWMETHODSLIST TT_ACCESSCTLALLOWMETHODSLIST

The list of HTTP methods. Valid values are:

  • GET

  • DELETE

  • HEAD

  • OPTIONS

  • PATCH

  • POST

  • PUT

  • ALL

ALL is a special value that includes all of the listed HTTP methods.


Queryable Attributes

Quantity

The number of HTTP methods in the list.

Accessible with the following methods

Method Description
GET_QUANTITY() Getter for QUANTITY, with configurable default
ASK_QUANTITY() Getter for QUANTITY w/ exceptions if field has no value
HAS_QUANTITY() Determine if QUANTITY has a value

Items

The list of HTTP methods. Valid values are:

  • GET

  • DELETE

  • HEAD

  • OPTIONS

  • PATCH

  • POST

  • PUT

  • ALL

ALL is a special value that includes all of the listed HTTP methods.

Accessible with the following methods

Method Description
GET_ITEMS() Getter for ITEMS, with configurable default
ASK_ITEMS() Getter for ITEMS w/ exceptions if field has no value
HAS_ITEMS() Determine if ITEMS has a value