Source compatibility report for the dropwizard-servlets library between 3.0.11 and 4.0.0 versions
Test Info
Library Name | dropwizard-servlets |
Version #1 | 3.0.11 |
Version #2 | 4.0.0 |
Test Results
Total Java Modules | 1 |
Total Methods / Classes | 70 / 14 |
Compatibility |
71.7% |
Problem Summary
| Severity | Count |
Added Methods | - | 10 |
Removed Methods | High | 10 |
Problems with Data Types | High | 3 |
Medium | 0 |
Low | 2 |
Problems with Methods | High | 0 |
Medium | 0 |
Low | 0 |
Added Methods 10
dropwizard-servlets-4.0.0.jar, AssetServlet.class
package io.dropwizard.servlets.assets
AssetServlet.doGet ( HttpServletRequest req, HttpServletResponse resp ) : void
io/dropwizard/servlets/assets/AssetServlet.doGet:(Ljakarta/servlet/http/HttpServletRequest;Ljakarta/servlet/http/HttpServletResponse;)V
dropwizard-servlets-4.0.0.jar, CacheBustingFilter.class
package io.dropwizard.servlets
CacheBustingFilter.doFilter ( ServletRequest request, ServletResponse response, FilterChain chain ) : void
io/dropwizard/servlets/CacheBustingFilter.doFilter:(Ljakarta/servlet/ServletRequest;Ljakarta/servlet/ServletResponse;Ljakarta/servlet/FilterChain;)V
CacheBustingFilter.init ( FilterConfig filterConfig ) : void
io/dropwizard/servlets/CacheBustingFilter.init:(Ljakarta/servlet/FilterConfig;)V
dropwizard-servlets-4.0.0.jar, Servlets.class
package io.dropwizard.servlets
Servlets.getFullUrl ( HttpServletRequest request ) [static] : String
io/dropwizard/servlets/Servlets.getFullUrl:(Ljakarta/servlet/http/HttpServletRequest;)Ljava/lang/String;
dropwizard-servlets-4.0.0.jar, SlowRequestFilter.class
package io.dropwizard.servlets
SlowRequestFilter.doFilter ( ServletRequest request, ServletResponse response, FilterChain chain ) : void
io/dropwizard/servlets/SlowRequestFilter.doFilter:(Ljakarta/servlet/ServletRequest;Ljakarta/servlet/ServletResponse;Ljakarta/servlet/FilterChain;)V
SlowRequestFilter.init ( FilterConfig filterConfig ) : void
io/dropwizard/servlets/SlowRequestFilter.init:(Ljakarta/servlet/FilterConfig;)V
dropwizard-servlets-4.0.0.jar, TaskServlet.class
package io.dropwizard.servlets.tasks
TaskServlet.doGet ( HttpServletRequest req, HttpServletResponse resp ) : void
io/dropwizard/servlets/tasks/TaskServlet.doGet:(Ljakarta/servlet/http/HttpServletRequest;Ljakarta/servlet/http/HttpServletResponse;)V
TaskServlet.doPost ( HttpServletRequest req, HttpServletResponse resp ) : void
io/dropwizard/servlets/tasks/TaskServlet.doPost:(Ljakarta/servlet/http/HttpServletRequest;Ljakarta/servlet/http/HttpServletResponse;)V
dropwizard-servlets-4.0.0.jar, ThreadNameFilter.class
package io.dropwizard.servlets
ThreadNameFilter.doFilter ( ServletRequest request, ServletResponse response, FilterChain chain ) : void
io/dropwizard/servlets/ThreadNameFilter.doFilter:(Ljakarta/servlet/ServletRequest;Ljakarta/servlet/ServletResponse;Ljakarta/servlet/FilterChain;)V
ThreadNameFilter.init ( FilterConfig filterConfig ) : void
io/dropwizard/servlets/ThreadNameFilter.init:(Ljakarta/servlet/FilterConfig;)V
to the top
Removed Methods 10
dropwizard-servlets-3.0.11.jar, AssetServlet.class
package io.dropwizard.servlets.assets
AssetServlet.doGet ( HttpServletRequest req, HttpServletResponse resp ) : void
io/dropwizard/servlets/assets/AssetServlet.doGet:(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
dropwizard-servlets-3.0.11.jar, CacheBustingFilter.class
package io.dropwizard.servlets
CacheBustingFilter.doFilter ( ServletRequest request, ServletResponse response, FilterChain chain ) : void
io/dropwizard/servlets/CacheBustingFilter.doFilter:(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V
CacheBustingFilter.init ( FilterConfig filterConfig ) : void
io/dropwizard/servlets/CacheBustingFilter.init:(Ljavax/servlet/FilterConfig;)V
dropwizard-servlets-3.0.11.jar, Servlets.class
package io.dropwizard.servlets
Servlets.getFullUrl ( HttpServletRequest request ) [static] : String
io/dropwizard/servlets/Servlets.getFullUrl:(Ljavax/servlet/http/HttpServletRequest;)Ljava/lang/String;
dropwizard-servlets-3.0.11.jar, SlowRequestFilter.class
package io.dropwizard.servlets
SlowRequestFilter.doFilter ( ServletRequest request, ServletResponse response, FilterChain chain ) : void
io/dropwizard/servlets/SlowRequestFilter.doFilter:(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V
SlowRequestFilter.init ( FilterConfig filterConfig ) : void
io/dropwizard/servlets/SlowRequestFilter.init:(Ljavax/servlet/FilterConfig;)V
dropwizard-servlets-3.0.11.jar, TaskServlet.class
package io.dropwizard.servlets.tasks
TaskServlet.doGet ( HttpServletRequest req, HttpServletResponse resp ) : void
io/dropwizard/servlets/tasks/TaskServlet.doGet:(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
TaskServlet.doPost ( HttpServletRequest req, HttpServletResponse resp ) : void
io/dropwizard/servlets/tasks/TaskServlet.doPost:(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
dropwizard-servlets-3.0.11.jar, ThreadNameFilter.class
package io.dropwizard.servlets
ThreadNameFilter.doFilter ( ServletRequest request, ServletResponse response, FilterChain chain ) : void
io/dropwizard/servlets/ThreadNameFilter.doFilter:(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V
ThreadNameFilter.init ( FilterConfig filterConfig ) : void
io/dropwizard/servlets/ThreadNameFilter.init:(Ljavax/servlet/FilterConfig;)V
to the top
Problems with Data Types, High Severity 3
dropwizard-servlets-3.0.11.jar
package io.dropwizard.servlets
[+] class CacheBustingFilter 1
| Change | Effect |
---|
1 |
Removed super-interface javax.servlet.Filter. |
Recompilation of a client program may be terminated with the message: cannot find method in class CacheBustingFilter. |
[+] affected methods: 2 (2.9%)
CacheBustingFilter.CacheBustingFilter ( )This constructor is from 'CacheBustingFilter' class.
CacheBustingFilter.destroy ( )This method is from 'CacheBustingFilter' class.
[+] class SlowRequestFilter 1
| Change | Effect |
---|
1 |
Removed super-interface javax.servlet.Filter. |
Recompilation of a client program may be terminated with the message: cannot find method in class SlowRequestFilter. |
[+] affected methods: 3 (4.3%)
SlowRequestFilter.SlowRequestFilter ( )This constructor is from 'SlowRequestFilter' class.
SlowRequestFilter.SlowRequestFilter ( Duration threshold )This constructor is from 'SlowRequestFilter' class.
SlowRequestFilter.destroy ( )This method is from 'SlowRequestFilter' class.
[+] class ThreadNameFilter 1
| Change | Effect |
---|
1 |
Removed super-interface javax.servlet.Filter. |
Recompilation of a client program may be terminated with the message: cannot find method in class ThreadNameFilter. |
[+] affected methods: 2 (2.9%)
ThreadNameFilter.ThreadNameFilter ( )This constructor is from 'ThreadNameFilter' class.
ThreadNameFilter.destroy ( )This method is from 'ThreadNameFilter' class.
to the top
Problems with Data Types, Low Severity 2
dropwizard-servlets-3.0.11.jar
package io.dropwizard.servlets.assets
[+] class AssetServlet 1
| Change | Effect |
---|
1 |
Superclass has been changed from javax.servlet.http.HttpServlet to jakarta.servlet.http.HttpServlet. |
1) Recompilation of a client program may be terminated with the message: cannot find variable (or method) in AssetServlet. 2) A static field from a super-interface of a client class may hide a field (with the same name) inherited from new super-class. Recompilation of a client class may be terminated with the message: reference to variable is ambiguous. |
[+] affected methods: 9 (12.9%)
AssetServlet.AssetServlet ( String resourcePath, String uriPath, String indexFile, String defaultMediaType, Charset defaultCharset )This constructor is from 'AssetServlet' class.
AssetServlet.AssetServlet ( String resourcePath, String uriPath, String indexFile, Charset defaultCharset )This constructor is from 'AssetServlet' class.
AssetServlet.getDefaultCharset ( )This method is from 'AssetServlet' class.
AssetServlet.getDefaultMediaType ( )This method is from 'AssetServlet' class.
AssetServlet.getIndexFile ( )This method is from 'AssetServlet' class.
...
dropwizard-servlets-3.0.11.jar
package io.dropwizard.servlets.tasks
[+] class TaskServlet 1
| Change | Effect |
---|
1 |
Superclass has been changed from javax.servlet.http.HttpServlet to jakarta.servlet.http.HttpServlet. |
1) Recompilation of a client program may be terminated with the message: cannot find variable (or method) in TaskServlet. 2) A static field from a super-interface of a client class may hide a field (with the same name) inherited from new super-class. Recompilation of a client class may be terminated with the message: reference to variable is ambiguous. |
[+] affected methods: 4 (5.7%)
TaskServlet.TaskServlet ( MetricRegistry metricRegistry )This constructor is from 'TaskServlet' class.
TaskServlet.TaskServlet ( MetricRegistry metricRegistry, TaskConfiguration taskConfiguration )This constructor is from 'TaskServlet' class.
TaskServlet.add ( Task task )This method is from 'TaskServlet' class.
TaskServlet.getTasks ( )This method is from 'TaskServlet' class.
to the top
Java Archives 1
dropwizard-servlets-3.0.11.jar
to the top