org.trialox.jaxrs.util
Class MethodUtil

java.lang.Object
  extended by org.trialox.jaxrs.util.MethodUtil

public class MethodUtil
extends java.lang.Object

Static utility methods to detect the type of methods

Author:
reto

Constructor Summary
MethodUtil()
           
 
Method Summary
static java.util.Set<java.lang.reflect.Method> filterByHttpMethod(java.util.Set<java.lang.reflect.Method> methods, org.wymiwyg.wrhapi.Method httpMethod)
           
static boolean isResourceMethod(java.lang.reflect.Method method)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodUtil

public MethodUtil()
Method Detail

filterByHttpMethod

public static java.util.Set<java.lang.reflect.Method> filterByHttpMethod(java.util.Set<java.lang.reflect.Method> methods,
                                                                         org.wymiwyg.wrhapi.Method httpMethod)

isResourceMethod

public static boolean isResourceMethod(java.lang.reflect.Method method)


Copyright © 2008. All Rights Reserved.