Errai 3.0.1-SNAPSHOT

org.jboss.errai.enterprise.rebind
Class JaxrsGwtRequestMethodMapper

java.lang.Object
  extended by 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

Constructor Summary
JaxrsGwtRequestMethodMapper()
           
 
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
 

Constructor Detail

JaxrsGwtRequestMethodMapper

public JaxrsGwtRequestMethodMapper()
Method Detail

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

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.