org.trialox.jaxrs
Class MethodMatcher
java.lang.Object
org.trialox.jaxrs.MethodMatcher
public final class MethodMatcher
- extends java.lang.Object
this class is responsible to match a path to a method
- Author:
- szalay
|
Method Summary |
static SortableMethod |
getBestMatchingMethod(WebRequest request,
java.lang.Class resourceClass,
java.lang.String completePath,
java.lang.String remainingURIPath,
java.lang.Class annotationClass)
get best matching method |
static java.util.SortedSet<SortableMethod> |
getMethods(WebRequest request,
java.lang.Class resourceClass,
java.lang.String completePath,
java.lang.String remainingURIPath,
java.lang.Class annotationClass)
get all method candidates |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodMatcher
public MethodMatcher()
getBestMatchingMethod
public static SortableMethod getBestMatchingMethod(WebRequest request,
java.lang.Class resourceClass,
java.lang.String completePath,
java.lang.String remainingURIPath,
java.lang.Class annotationClass)
- get best matching method
getMethods
public static java.util.SortedSet<SortableMethod> getMethods(WebRequest request,
java.lang.Class resourceClass,
java.lang.String completePath,
java.lang.String remainingURIPath,
java.lang.Class annotationClass)
- get all method candidates
- Parameters:
resourceClass - completePath - remainingURIPath - annotationClass -
- Returns:
Copyright © 2008. All Rights Reserved.