allow_method


Description:

public Action allow_method (HttpMethod method)

Adds an allowed HttpMethod to respond to. Defaults to HttpMethod.ALL.

Parameters:

method HttpMethod

Returns:

Instance of this Action

See also:

HttpMethod