You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juneau.apache.org by "Steve Blackmon (JIRA)" <ji...@apache.org> on 2017/06/14 02:17:00 UTC

[jira] [Created] (JUNEAU-55) remote proxy should support more HTTP methods

Steve Blackmon created JUNEAU-55:
------------------------------------

             Summary: remote proxy should support more HTTP methods
                 Key: JUNEAU-55
                 URL: https://issues.apache.org/jira/browse/JUNEAU-55
             Project: Juneau
          Issue Type: Improvement
            Reporter: Steve Blackmon


Currently if you try to use remote proxy on a interface to perform 'DELETE', you get an exception like:

java.lang.RuntimeException: org.apache.juneau.remoteable.RemoteableMetadataException: Invalid remoteable definition found on class org.apache.streams.twitter.api.AccountActivity on method deleteWebhook. Invalid value specified for @RemoteMethod.httpMethod() annotation.  Valid values are [GET,POST].
	at org.apache.juneau.rest.client.RestClient.getRemoteableProxy(RestClient.java:631)

DELETES are pretty widely used.  It would great to be able to use those and really any other http methods via interface proxies



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)