optionsForAllow

open fun optionsForAllow(url: String, urlVariables: Array<Any>): Set<HttpMethod>

Return the value of the Allow header for the given URI.

URI Template variables are expanded using the given URI variables, if any.

Return

the value of the Allow header

Parameters

url

the URL

urlVariables

the variables to expand in the template

See also


open fun optionsForAllow(url: String, urlVariables: Map<String, out Any>): Set<HttpMethod>

Return the value of the Allow header for the given URI.

URI Template variables are expanded using the given map.

Return

the value of the Allow header

Parameters

url

the URL

urlVariables

the variables to expand in the template

See also


Return the value of the Allow header for the given URL.

Return

the value of the Allow header

Parameters

url

the URL

See also