Permalink
Browse files

fix Filter

  • Loading branch information...
1 parent cc2f821 commit 5b3b8af93ee2de57071106657dce2237948750a1 @hoegertn committed May 17, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/main/java/org/restdoc/server/impl/AbstractRestDocFilter.java
@@ -103,6 +103,7 @@ private void addResourcesOfClass(Class<?> apiClass) {
final Method[] methods = apiClass.getMethods();
for (final Method method : methods) {
if (method.isAnnotationPresent(org.restdoc.server.impl.annotations.RestDoc.class)) {
+ this.logger.info("Generating RestDoc of method: " + method.toString());
this.addResourceMethod(basepath, method);
}
}
@@ -267,8 +268,9 @@ public void doFilter(ServletRequest request, ServletResponse response, FilterCha
} else {
chain.doFilter(request, response);
}
+ } else {
+ chain.doFilter(request, response);
}
- chain.doFilter(request, response);
}
/**

0 comments on commit 5b3b8af

Please sign in to comment.