-
Classes Class Description io.dropwizard.jersey.params.IntParam As of release 2.0.0, will be removed in 3.0.0. Please useOptionalIntinstead.io.dropwizard.jersey.params.LongParam As of release 2.0.0, will be removed in 3.0.0. Please useOptionalLonginstead.io.dropwizard.jersey.params.UUIDParam As of release 2.0.0, will be removed in 3.0.0. Please useOptionalinstead.io.dropwizard.jetty.ServerPushFilterFactory Jetty 12.0.3 removes thePushCacheFilterwithout replacement
-
Methods Method Description io.dropwizard.core.server.AbstractServerFactory.addRequestLog(Server, Handler, String) Jetty 12 removes theRequestLogHandler. Therefore, the signature of this method will be changed tovoid addRequestLog(Server server, String name, MutableServletContextHandler servletContextHandler).io.dropwizard.core.server.AbstractServerFactory.addStatsHandler(Handler) Graceful shutdown isn't performed with theStatisticsHandlerin Jetty 12 anymore and metrics are collected withInstrumentedHandlers. Will be replaced by a method with signatureHandler addGracefulHandler(Handler handler)io.dropwizard.jersey.params.AbstractParam.error(String, Exception) instead of returning aResponsefrom this method, subclasses should overrideAbstractParam.errorMessage(java.lang.Exception)andAbstractParam.getErrorStatus()to allow aWebApplicationExceptionto be thrown which is mapped to a response using the exception mappers.io.dropwizard.jersey.params.AbstractParam.mediaType() the media type should be set by the exception mapper insteadio.dropwizard.servlets.tasks.PostBodyTask.execute(Map<String, List<String>>, PrintWriter) UsePostBodyTask.execute(Map, String, PrintWriter)or inherit from Task instead.
-
Constructors Constructor Description io.dropwizard.views.freemarker.FreemarkerViewRenderer() UseFreemarkerViewRenderer(Version)instead.