Compare commits
8 Commits
feat/train
...
831ba3e616
| Author | SHA1 | Date | |
|---|---|---|---|
| 831ba3e616 | |||
| a4b5e20db2 | |||
| da260f35ea | |||
| 6cf81bf60f | |||
| ed95829a34 | |||
| 52ffe53815 | |||
| 5887a954ea | |||
|
|
72bc2fd47b |
@@ -16,6 +16,12 @@ public class ApiLogFilter extends OncePerRequestFilter {
|
|||||||
protected void doFilterInternal(
|
protected void doFilterInternal(
|
||||||
HttpServletRequest request, HttpServletResponse response, FilterChain filterChain)
|
HttpServletRequest request, HttpServletResponse response, FilterChain filterChain)
|
||||||
throws ServletException, IOException {
|
throws ServletException, IOException {
|
||||||
|
String uri = request.getRequestURI();
|
||||||
|
if (uri.contains("/download/")) {
|
||||||
|
filterChain.doFilter(request, response);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
ContentCachingRequestWrapper wrappedRequest = new ContentCachingRequestWrapper(request);
|
ContentCachingRequestWrapper wrappedRequest = new ContentCachingRequestWrapper(request);
|
||||||
|
|
||||||
ContentCachingResponseWrapper wrappedResponse = new ContentCachingResponseWrapper(response);
|
ContentCachingResponseWrapper wrappedResponse = new ContentCachingResponseWrapper(response);
|
||||||
|
|||||||
Reference in New Issue
Block a user