Source compatibility report for the dropwizard-views library between 3.0.10 and 4.0.0 versions
Test Info
Library Name | dropwizard-views |
Version #1 | 3.0.10 |
Version #2 | 4.0.0 |
Test Results
Total Java Modules | 1 |
Total Methods / Classes | 37 / 7 |
Compatibility |
57.1% |
Problem Summary
| Severity | Count |
Added Methods | - | 9 |
Removed Methods | High | 9 |
Problems with Data Types | High | 2 |
Medium | 0 |
Low | 0 |
Problems with Methods | High | 0 |
Medium | 1 |
Low | 0 |
Added Methods 9
dropwizard-views-4.0.0.jar, ViewMessageBodyWriter.class
package io.dropwizard.views.common
ViewMessageBodyWriter.detectLocale ( HttpHeaders headers ) : Locale
io/dropwizard/views/common/ViewMessageBodyWriter.detectLocale:(Ljakarta/ws/rs/core/HttpHeaders;)Ljava/util/Locale;
ViewMessageBodyWriter.getSize ( Object p1, Class p2, Type p3, Annotation[ ] p4, MediaType p5 ) : long
io/dropwizard/views/common/ViewMessageBodyWriter.getSize:(Ljava/lang/Object;Ljava/lang/Class;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Ljakarta/ws/rs/core/MediaType;)J
ViewMessageBodyWriter.getSize ( View t, Class<?> type, Type genericType, Annotation[ ] annotations, MediaType mediaType ) : long
io/dropwizard/views/common/ViewMessageBodyWriter.getSize:(Lio/dropwizard/views/common/View;Ljava/lang/Class;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Ljakarta/ws/rs/core/MediaType;)J
ViewMessageBodyWriter.isWriteable ( Class<?> type, Type genericType, Annotation[ ] annotations, MediaType mediaType ) : boolean
io/dropwizard/views/common/ViewMessageBodyWriter.isWriteable:(Ljava/lang/Class;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Ljakarta/ws/rs/core/MediaType;)Z
ViewMessageBodyWriter.writeTo ( Object p1, Class p2, Type p3, Annotation[ ] p4, MediaType p5, MultivaluedMap p6, OutputStream p7 ) : void
io/dropwizard/views/common/ViewMessageBodyWriter.writeTo:(Ljava/lang/Object;Ljava/lang/Class;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Ljakarta/ws/rs/core/MediaType;Ljakarta/ws/rs/core/MultivaluedMap;Ljava/io/OutputStream;)V
ViewMessageBodyWriter.writeTo ( View t, Class<?> type, Type genericType, Annotation[ ] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream ) : void
io/dropwizard/views/common/ViewMessageBodyWriter.writeTo:(Lio/dropwizard/views/common/View;Ljava/lang/Class;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Ljakarta/ws/rs/core/MediaType;Ljakarta/ws/rs/core/MultivaluedMap;Ljava/io/OutputStream;)V
dropwizard-views-4.0.0.jar, ViewRenderExceptionMapper.class
package io.dropwizard.views.common
ViewRenderExceptionMapper.isMappable ( WebApplicationException e ) : boolean
io/dropwizard/views/common/ViewRenderExceptionMapper.isMappable:(Ljakarta/ws/rs/WebApplicationException;)Z
ViewRenderExceptionMapper.toResponse ( Throwable p1 ) : Response
io/dropwizard/views/common/ViewRenderExceptionMapper.toResponse:(Ljava/lang/Throwable;)Ljakarta/ws/rs/core/Response;
ViewRenderExceptionMapper.toResponse ( WebApplicationException exception ) : Response
io/dropwizard/views/common/ViewRenderExceptionMapper.toResponse:(Ljakarta/ws/rs/WebApplicationException;)Ljakarta/ws/rs/core/Response;
to the top
Removed Methods 9
dropwizard-views-3.0.10.jar, ViewMessageBodyWriter.class
package io.dropwizard.views.common
ViewMessageBodyWriter.detectLocale ( HttpHeaders headers ) : Locale
io/dropwizard/views/common/ViewMessageBodyWriter.detectLocale:(Ljavax/ws/rs/core/HttpHeaders;)Ljava/util/Locale;
ViewMessageBodyWriter.getSize ( Object p1, Class p2, Type p3, Annotation[ ] p4, MediaType p5 ) : long
io/dropwizard/views/common/ViewMessageBodyWriter.getSize:(Ljava/lang/Object;Ljava/lang/Class;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Ljavax/ws/rs/core/MediaType;)J
ViewMessageBodyWriter.getSize ( View t, Class<?> type, Type genericType, Annotation[ ] annotations, MediaType mediaType ) : long
io/dropwizard/views/common/ViewMessageBodyWriter.getSize:(Lio/dropwizard/views/common/View;Ljava/lang/Class;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Ljavax/ws/rs/core/MediaType;)J
ViewMessageBodyWriter.isWriteable ( Class<?> type, Type genericType, Annotation[ ] annotations, MediaType mediaType ) : boolean
io/dropwizard/views/common/ViewMessageBodyWriter.isWriteable:(Ljava/lang/Class;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Ljavax/ws/rs/core/MediaType;)Z
ViewMessageBodyWriter.writeTo ( Object p1, Class p2, Type p3, Annotation[ ] p4, MediaType p5, MultivaluedMap p6, OutputStream p7 ) : void
io/dropwizard/views/common/ViewMessageBodyWriter.writeTo:(Ljava/lang/Object;Ljava/lang/Class;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Ljavax/ws/rs/core/MediaType;Ljavax/ws/rs/core/MultivaluedMap;Ljava/io/OutputStream;)V
ViewMessageBodyWriter.writeTo ( View t, Class<?> type, Type genericType, Annotation[ ] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream ) : void
io/dropwizard/views/common/ViewMessageBodyWriter.writeTo:(Lio/dropwizard/views/common/View;Ljava/lang/Class;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Ljavax/ws/rs/core/MediaType;Ljavax/ws/rs/core/MultivaluedMap;Ljava/io/OutputStream;)V
dropwizard-views-3.0.10.jar, ViewRenderExceptionMapper.class
package io.dropwizard.views.common
ViewRenderExceptionMapper.isMappable ( WebApplicationException e ) : boolean
io/dropwizard/views/common/ViewRenderExceptionMapper.isMappable:(Ljavax/ws/rs/WebApplicationException;)Z
ViewRenderExceptionMapper.toResponse ( Throwable p1 ) : Response
io/dropwizard/views/common/ViewRenderExceptionMapper.toResponse:(Ljava/lang/Throwable;)Ljavax/ws/rs/core/Response;
ViewRenderExceptionMapper.toResponse ( WebApplicationException exception ) : Response
io/dropwizard/views/common/ViewRenderExceptionMapper.toResponse:(Ljavax/ws/rs/WebApplicationException;)Ljavax/ws/rs/core/Response;
to the top
Problems with Data Types, High Severity 2
dropwizard-views-3.0.10.jar
package io.dropwizard.views.common
[+] class ViewMessageBodyWriter 1
| Change | Effect |
---|
1 |
Removed super-interface javax.ws.rs.ext.MessageBodyWriter<View>. |
Recompilation of a client program may be terminated with the message: cannot find method in class ViewMessageBodyWriter. |
[+] affected methods: 1 (2.7%)
ViewMessageBodyWriter.ViewMessageBodyWriter ( MetricRegistry metricRegistry, Iterable<ViewRenderer> viewRenderers )This constructor is from 'ViewMessageBodyWriter' class.
[+] class ViewRenderExceptionMapper 1
| Change | Effect |
---|
1 |
Removed super-interface org.glassfish.jersey.spi.ExtendedExceptionMapper<javax.ws.rs.WebApplicationException>. |
Recompilation of a client program may be terminated with the message: cannot find method in class ViewRenderExceptionMapper. |
[+] affected methods: 2 (5.4%)
ViewRenderExceptionMapper.ViewRenderExceptionMapper ( )This constructor is from 'ViewRenderExceptionMapper' class.
ViewRenderExceptionMapper.isMappable ( Throwable p1 )This method is from 'ViewRenderExceptionMapper' class.
to the top
Problems with Methods, Medium Severity 1
dropwizard-views-3.0.10.jar, ViewRenderExceptionMapper.class
package io.dropwizard.views.common
[+] ViewRenderExceptionMapper.toResponse ( Throwable p1 ) : Response 1
io/dropwizard/views/common/ViewRenderExceptionMapper.toResponse:(Ljava/lang/Throwable;)Ljavax/ws/rs/core/Response;
| Change | Effect |
---|
1 |
Return value type has been changed from javax.ws.rs.core.Response to jakarta.ws.rs.core.Response. |
Recompilation of a client program may be terminated with the message: incompatible types: jakarta.ws.rs.core.Response cannot be converted to javax.ws.rs.core.Response. |
to the top
Java Archives 1
dropwizard-views-3.0.10.jar
to the top