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/28 01:18:00 UTC
[jira] [Commented] (JUNEAU-98) Add
@RestMethod(allowMethodParam/allowMethodHead) annotations
[ https://issues.apache.org/jira/browse/JUNEAU-98?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16874588#comment-16874588 ]
James Bognar commented on JUNEAU-98:
------------------------------------
Closing as won't-fix. There's a chicken-and-egg problem if you try to allow these values at the method level. You need to know the HTTP method before you search for the Java method.
> Add @RestMethod(allowMethodParam/allowMethodHead) annotations
> -------------------------------------------------------------
>
> Key: JUNEAU-98
> URL: https://issues.apache.org/jira/browse/JUNEAU-98
> Project: Juneau
> Issue Type: New Feature
> Affects Versions: 8.0.0
> Reporter: James Bognar
> Priority: Major
>
> @RestMethod(allowMethodParam) - Allows you to specify &method=X on a URL to identify the HTTP method.
> @RestMethod(allowMethodHead) - Allows you to specify X-Method header to identify the HTTP method.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)