This commit is contained in:
kamhung
2015-11-11 16:58:17 +08:00
parent ce737dbd20
commit 54334cc660

View File

@@ -64,7 +64,7 @@ public abstract class BasedHttpServlet extends HttpServlet {
for (final Method method : this.getClass().getMethods()) {
//-----------------------------------------------
String methodname = method.getName();
if ("service".equals(methodname) || "execute".equals(methodname) || "authenticate".equals(methodname)) continue;
if ("service".equals(methodname) || "preExecute".equals(methodname) || "execute".equals(methodname) || "authenticate".equals(methodname)) continue;
//-----------------------------------------------
Class[] paramTypes = method.getParameterTypes();
if (paramTypes.length != 2 || paramTypes[0] != HttpRequest.class