juneau-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Bognar (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (JUNEAU-100) REST_allowedMethodHeaders / @RestResource(allowedMethodHeaders) / @RestMethod(allowedMethodHeaders)
Date Sun, 30 Jun 2019 18:24:00 GMT

     [ 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)

Mime
View raw message