You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juneau.apache.org by "James Bognar (JIRA)" <ji...@apache.org> on 2019/06/30 18:24:00 UTC
[jira] [Resolved] (JUNEAU-100) REST_allowedMethodHeaders /
@RestResource(allowedMethodHeaders) / @RestMethod(allowedMethodHeaders)
[ https://issues.apache.org/jira/browse/JUNEAU-100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Bognar resolved JUNEAU-100.
---------------------------------
Resolution: Fixed
Assignee: James Bognar
Fix Version/s: 8.0.1
> REST_allowedMethodHeaders / @RestResource(allowedMethodHeaders) / @RestMethod(allowedMethodHeaders)
> ---------------------------------------------------------------------------------------------------
>
> Key: JUNEAU-100
> URL: https://issues.apache.org/jira/browse/JUNEAU-100
> Project: Juneau
> Issue Type: New Feature
> Components: Code
> Affects Versions: 8.0.0
> Reporter: James Bognar
> Assignee: James Bognar
> Priority: Major
> Fix For: 8.0.1
>
>
> New properties:
> REST_allowedMethodHeaders - Comma-delimited list of valid HTTP method names allowed to be specified via X-Method request headers.
> @RestResource(allowMethodHeaders=true) - Allow X-Method to be used for all methods in a class.
> @RestResource(allowedMethodHeaders="GET,POST") - Allow X-Method to be used for the specified methods in a class.
> @RestMethod(allowMethodHeaders=true) - Allow X-Method to be used for all methods in a class.
> Likewise, allow method params to be specified in the same way:
> @RestResource(allowMethodParams=true) - Allow &method= to be used for all methods in a class.
> @RestResource(allowedMethodParams="GET,POST") - Allow &method= to be used for the specified methods in a class.
> @RestMethod(allowMethodParams=true) - Allow &method= to be used for all methods in a class.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)