Generates Allow, Accept-Patch, Accept-Post, and Accept-Put headers. The resulting values depend on the choses input methods and types. The input metadata also gets used to remove methods from that list if they are not valid in the given situation.

Hierarchy (view full)

Constructors

Methods

  • Checks whether the input can be handled by this class. If it cannot handle the input, rejects with an error explaining why.

    Parameters

    Returns Promise<void>

    A promise resolving if the input can be handled, rejecting with an Error if not.