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] [Commented] (JUNEAU-98) Add @RestMethod(allowMethodParam/allowMethodHead) annotations
Date Fri, 28 Jun 2019 01:18:00 GMT

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

Mime
View raw message