diff --git a/mangooio-core/src/main/java/io/mangoo/routing/handlers/DispatcherHandler.java b/mangooio-core/src/main/java/io/mangoo/routing/handlers/DispatcherHandler.java
index <HASH>..<HASH> 100644
--- a/mangooio-core/src/main/java/io/mangoo/routing/handlers/DispatcherHandler.java
+++ b/mangooio-core/src/main/java/io/mangoo/routing/handlers/DispatcherHandler.java
@@ -82,7 +82,7 @@ public class DispatcherHandler implements HttpHandler {
         try {
             this.method = Application.getInstance(this.controllerClass)
                     .getClass()
-                    .getMethod(this.controllerMethodName, this.methodParameters.values().toArray(new Class[0]));
+                    .getDeclaredMethod(this.controllerMethodName, this.methodParameters.values().toArray(new Class[0]));
             
             for (Annotation annotation : this.method.getAnnotations()) {
                 if (annotation.annotationType().equals(FilterWith.class)) {
@@ -184,4 +184,4 @@ public class DispatcherHandler implements HttpHandler {
     private void nextHandler(HttpServerExchange exchange) throws Exception {
         Application.getInstance(LimitHandler.class).handleRequest(exchange);
     }
-}
\ No newline at end of file
+}
Get Declared Method to support inheritence

.getMethod does not return inherited methods, preventing the usage of inheritance in controllers.



Currently can be bypassed by implementing the method in both and calling super, but not exactly convenient