com.opensymphony.xwork2.interceptor
Class MethodFilterInterceptorUtil

java.lang.Object
  extended by com.opensymphony.xwork2.interceptor.MethodFilterInterceptorUtil

public class MethodFilterInterceptorUtil
extends java.lang.Object

Utility class contains common methods used by com.opensymphony.xwork2.interceptor.MethodFilterInterceptorterceptor and org.apache.struts.action2.components.Form.

Version:
$Date: 2006-07-09 19:30:29 -0500 (Sun, 09 Jul 2006) $ $Id: MethodFilterInterceptorUtil.java 1063 2006-07-10 00:30:29Z mrdon $
Author:
tm_jee

Constructor Summary
MethodFilterInterceptorUtil()
           
 
Method Summary
static boolean applyMethod(java.util.Set excludeMethods, java.util.Set includeMethods, java.lang.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(java.lang.String excludeMethods, java.lang.String includeMethods, java.lang.String method)
          Same as #isMethodFiltered(Set, Set, String), except that excludeMethods and includeMethods are supplied as comma separated string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodFilterInterceptorUtil

public MethodFilterInterceptorUtil()
Method Detail

applyMethod

public static boolean applyMethod(java.util.Set excludeMethods,
                                  java.util.Set includeMethods,
                                  java.lang.String method)
Static method to decide if the specified method should be apply (not filtered) depending on the set of excludeMethods and includeMethods.


applyMethod

public static boolean applyMethod(java.lang.String excludeMethods,
                                  java.lang.String includeMethods,
                                  java.lang.String method)
Same as #isMethodFiltered(Set, Set, String), except that excludeMethods and includeMethods are supplied as comma separated string.

Parameters:
excludeMethods -
includeMethods -
method -
Returns:


Copyright © 2006 OpenSymphony. All Rights Reserved.