Source compatibility report for the dropwizard-jetty library between 4.0.10 and 5.0.0-alpha.4 versions
Test Info
Library Name | dropwizard-jetty |
Version #1 | 4.0.10 |
Version #2 | 5.0.0-alpha.4 |
Test Results
Total Java Modules | 1 |
Total Methods / Classes | 196 / 11 |
Compatibility |
91% |
Problem Summary
| Severity | Count |
Added Methods | - | 7 |
Removed Methods | High | 17 |
Problems with Data Types | High | 1 |
Medium | 0 |
Low | 3 |
Problems with Methods | High | 0 |
Medium | 1 |
Low | 0 |
Added Methods 7
dropwizard-jetty-5.0.0-alpha.4.jar, ContextRoutingHandler.class
package io.dropwizard.jetty
ContextRoutingHandler.getHandlers ( ) : List<Handler>
io/dropwizard/jetty/ContextRoutingHandler.getHandlers:()Ljava/util/List;
ContextRoutingHandler.handle ( Request request, Response response, Callback callback ) : boolean
io/dropwizard/jetty/ContextRoutingHandler.handle:(Lorg/eclipse/jetty/server/Request;Lorg/eclipse/jetty/server/Response;Lorg/eclipse/jetty/util/Callback;)Z
dropwizard-jetty-5.0.0-alpha.4.jar, RoutingHandler.class
package io.dropwizard.jetty
RoutingHandler.getHandlers ( ) : List<Handler>
io/dropwizard/jetty/RoutingHandler.getHandlers:()Ljava/util/List;
RoutingHandler.handle ( Request request, Response response, Callback callback ) : boolean
io/dropwizard/jetty/RoutingHandler.handle:(Lorg/eclipse/jetty/server/Request;Lorg/eclipse/jetty/server/Response;Lorg/eclipse/jetty/util/Callback;)Z
dropwizard-jetty-5.0.0-alpha.4.jar, ServletEnvironment.class
package io.dropwizard.jetty.setup
ServletEnvironment.setSessionHandler ( SessionHandler sessionHandler ) : void
io/dropwizard/jetty/setup/ServletEnvironment.setSessionHandler:(Lorg/eclipse/jetty/ee10/servlet/SessionHandler;)V
dropwizard-jetty-5.0.0-alpha.4.jar, ZipExceptionHandlingServletFilter.class
package io.dropwizard.jetty
ZipExceptionHandlingServletFilter.doFilter ( ServletRequest request, ServletResponse response, FilterChain chain ) : void
io/dropwizard/jetty/ZipExceptionHandlingServletFilter.doFilter:(Ljakarta/servlet/ServletRequest;Ljakarta/servlet/ServletResponse;Ljakarta/servlet/FilterChain;)V
ZipExceptionHandlingServletFilter.ZipExceptionHandlingServletFilter ( )
io/dropwizard/jetty/ZipExceptionHandlingServletFilter."<init>":()V
to the top
Removed Methods 17
dropwizard-jetty-4.0.10.jar, ContextRoutingHandler.class
package io.dropwizard.jetty
ContextRoutingHandler.expandChildren ( List<Handler> list, Class<?> byClass ) : void
io/dropwizard/jetty/ContextRoutingHandler.expandChildren:(Ljava/util/List;Ljava/lang/Class;)V
ContextRoutingHandler.getHandlers ( ) : Handler[ ]
io/dropwizard/jetty/ContextRoutingHandler.getHandlers:()[Lorg/eclipse/jetty/server/Handler;
ContextRoutingHandler.handle ( String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response ) : void
io/dropwizard/jetty/ContextRoutingHandler.handle:(Ljava/lang/String;Lorg/eclipse/jetty/server/Request;Ljakarta/servlet/http/HttpServletRequest;Ljakarta/servlet/http/HttpServletResponse;)V
dropwizard-jetty-4.0.10.jar, RoutingHandler.class
package io.dropwizard.jetty
RoutingHandler.handle ( String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response ) : void
io/dropwizard/jetty/RoutingHandler.handle:(Ljava/lang/String;Lorg/eclipse/jetty/server/Request;Ljakarta/servlet/http/HttpServletRequest;Ljakarta/servlet/http/HttpServletResponse;)V
dropwizard-jetty-4.0.10.jar, ServerPushFilterFactory.class
package io.dropwizard.jetty
ServerPushFilterFactory.addFilter ( ServletContextHandler handler ) : void
io/dropwizard/jetty/ServerPushFilterFactory.addFilter:(Lorg/eclipse/jetty/servlet/ServletContextHandler;)V
ServerPushFilterFactory.getAssociatePeriod ( ) : Duration
io/dropwizard/jetty/ServerPushFilterFactory.getAssociatePeriod:()Lio/dropwizard/util/Duration;
ServerPushFilterFactory.getMaxAssociations ( ) : int
io/dropwizard/jetty/ServerPushFilterFactory.getMaxAssociations:()I
ServerPushFilterFactory.getRefererHosts ( ) : List<String>
io/dropwizard/jetty/ServerPushFilterFactory.getRefererHosts:()Ljava/util/List;
ServerPushFilterFactory.getRefererPorts ( ) : List<Integer>
io/dropwizard/jetty/ServerPushFilterFactory.getRefererPorts:()Ljava/util/List;
ServerPushFilterFactory.isEnabled ( ) : boolean
io/dropwizard/jetty/ServerPushFilterFactory.isEnabled:()Z
ServerPushFilterFactory.ServerPushFilterFactory ( )
io/dropwizard/jetty/ServerPushFilterFactory."<init>":()V
ServerPushFilterFactory.setAssociatePeriod ( Duration associatePeriod ) : void
io/dropwizard/jetty/ServerPushFilterFactory.setAssociatePeriod:(Lio/dropwizard/util/Duration;)V
ServerPushFilterFactory.setEnabled ( boolean enabled ) : void
io/dropwizard/jetty/ServerPushFilterFactory.setEnabled:(Z)V
ServerPushFilterFactory.setMaxAssociations ( int maxAssociations ) : void
io/dropwizard/jetty/ServerPushFilterFactory.setMaxAssociations:(I)V
ServerPushFilterFactory.setRefererHosts ( List<String> refererHosts ) : void
io/dropwizard/jetty/ServerPushFilterFactory.setRefererHosts:(Ljava/util/List;)V
ServerPushFilterFactory.setRefererPorts ( List<Integer> refererPorts ) : void
io/dropwizard/jetty/ServerPushFilterFactory.setRefererPorts:(Ljava/util/List;)V
dropwizard-jetty-4.0.10.jar, ServletEnvironment.class
package io.dropwizard.jetty.setup
ServletEnvironment.setSessionHandler ( SessionHandler sessionHandler ) : void
io/dropwizard/jetty/setup/ServletEnvironment.setSessionHandler:(Lorg/eclipse/jetty/server/session/SessionHandler;)V
to the top
Problems with Data Types, High Severity 1
dropwizard-jetty-4.0.10.jar
package io.dropwizard.jetty
[+] class ServerPushFilterFactory 1
| Change | Effect |
---|
1 |
This class has been removed. |
Recompilation of a client program may be terminated with the message: cannot find class ServerPushFilterFactory. |
[+] affected methods: 12 (6.1%)
ServerPushFilterFactory.ServerPushFilterFactory ( )This constructor is from 'ServerPushFilterFactory' class.
ServerPushFilterFactory.addFilter ( ServletContextHandler handler )This method is from 'ServerPushFilterFactory' class.
ServerPushFilterFactory.getAssociatePeriod ( )This method is from 'ServerPushFilterFactory' class.
ServerPushFilterFactory.getMaxAssociations ( )This method is from 'ServerPushFilterFactory' class.
ServerPushFilterFactory.getRefererHosts ( )This method is from 'ServerPushFilterFactory' class.
...
to the top
Problems with Methods, Medium Severity 1
dropwizard-jetty-4.0.10.jar, ContextRoutingHandler.class
package io.dropwizard.jetty
[+] ContextRoutingHandler.getHandlers ( ) : Handler[ ] 1
io/dropwizard/jetty/ContextRoutingHandler.getHandlers:()[Lorg/eclipse/jetty/server/Handler;
| Change | Effect |
---|
1 |
Return value type has been changed from org.eclipse.jetty.server.Handler[] to java.util.List<org.eclipse.jetty.server.Handler>. |
Recompilation of a client program may be terminated with the message: incompatible types: java.util.List<org.eclipse.jetty.server.Handler> cannot be converted to org.eclipse.jetty.server.Handler[]. |
to the top
Problems with Data Types, Low Severity 3
dropwizard-jetty-4.0.10.jar
package io.dropwizard.jetty
[+] class ContextRoutingHandler 1
| Change | Effect |
---|
1 |
Superclass has been changed from org.eclipse.jetty.server.handler.AbstractHandlerContainer to org.eclipse.jetty.server.Handler.AbstractContainer. |
1) Recompilation of a client program may be terminated with the message: cannot find variable (or method) in ContextRoutingHandler. 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: 3 (1.5%)
ContextRoutingHandler.ContextRoutingHandler ( Map<String,? extends org.eclipse.jetty.server.Handler> handlers )This constructor is from 'ContextRoutingHandler' class.
ContextRoutingHandler.doStart ( )This method is from 'ContextRoutingHandler' class.
ContextRoutingHandler.doStop ( )This method is from 'ContextRoutingHandler' class.
[+] class MutableServletContextHandler 1
| Change | Effect |
---|
1 |
Superclass has been changed from org.eclipse.jetty.servlet.ServletContextHandler to org.eclipse.jetty.ee10.servlet.ServletContextHandler. |
1) Recompilation of a client program may be terminated with the message: cannot find variable (or method) in MutableServletContextHandler. 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: 6 (3.1%)
MutableServletContextHandler.MutableServletContextHandler ( )This constructor is from 'MutableServletContextHandler' class.
MutableServletContextHandler.isSecurityEnabled ( )This method is from 'MutableServletContextHandler' class.
MutableServletContextHandler.isSessionsEnabled ( )This method is from 'MutableServletContextHandler' class.
MutableServletContextHandler.setSecurityEnabled ( boolean enabled )This method is from 'MutableServletContextHandler' class.
MutableServletContextHandler.setSessionsEnabled ( boolean enabled )This method is from 'MutableServletContextHandler' class.
...
[+] class RoutingHandler 1
| Change | Effect |
---|
1 |
Superclass has been changed from org.eclipse.jetty.server.handler.HandlerCollection to org.eclipse.jetty.server.Handler.AbstractContainer. |
1) Recompilation of a client program may be terminated with the message: cannot find variable (or method) in RoutingHandler. 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: 1 (0.5%)
RoutingHandler.RoutingHandler ( Map<Connector,Handler> handlers )This constructor is from 'RoutingHandler' class.
to the top
Java Archives 1
dropwizard-jetty-4.0.10.jar
to the top