public class MethodFilterInterceptorUtil extends Object
MethodFilterInterceptor
.Constructor and Description |
---|
MethodFilterInterceptorUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
applyMethod(Set<String> excludeMethods,
Set<String> includeMethods,
String method)
Static method to decide if the specified
method should be
apply (not filtered) depending on the set of excludeMethods and
includeMethods . |
static boolean |
applyMethod(String excludeMethods,
String includeMethods,
String method)
Same as
applyMethod(Set, Set, String) , except that excludeMethods
and includeMethods are supplied as comma separated string. |
public static boolean applyMethod(Set<String> excludeMethods, Set<String> includeMethods, String method)
method
should be
apply (not filtered) depending on the set of excludeMethods
and
includeMethods
.
includeMethods
takes precedence over excludeMethods
excludeMethods
- list of methods to exclude.includeMethods
- list of methods to include.method
- the specified method to checkpublic static boolean applyMethod(String excludeMethods, String includeMethods, String method)
applyMethod(Set, Set, String)
, except that excludeMethods
and includeMethods
are supplied as comma separated string.excludeMethods
- comma seperated string of methods to exclude.includeMethods
- comma seperated string of methods to include.method
- the specified method to checkCopyright © 2000–2020 Apache Software Foundation. All rights reserved.