org.jboss.errai.enterprise.rebind
Class JaxrsGwtRequestMethodMapper
java.lang.Object
org.jboss.errai.enterprise.rebind.JaxrsGwtRequestMethodMapper
public class JaxrsGwtRequestMethodMapper
- extends Object
Utility to map a JAX-RS HttpMethod
to the corresponding GWT RequestBuilder method.
- Author:
- Christian Sadilek
Method Summary |
static Statement |
fromMethod(MetaMethod method)
Searches for HttpMethod annotations on the provided method and
returns the corresponding GWT RequestBuilder method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JaxrsGwtRequestMethodMapper
public JaxrsGwtRequestMethodMapper()
fromMethod
public static Statement fromMethod(MetaMethod method)
- Searches for
HttpMethod
annotations on the provided method and
returns the corresponding GWT RequestBuilder method.
- Parameters:
method
-
- Returns:
- statement representing the GWT RequestBuilder method
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.