-
Classes Class Description io.dropwizard.jersey.params.IntParam As of release 2.0.0, will be removed in 3.0.0. Please useOptionalInt
instead.io.dropwizard.jersey.params.LongParam As of release 2.0.0, will be removed in 3.0.0. Please useOptionalLong
instead.io.dropwizard.jersey.params.UUIDParam As of release 2.0.0, will be removed in 3.0.0. Please useOptional
instead.io.dropwizard.jetty.ServerPushFilterFactory Jetty 12.0.3 removes thePushCacheFilter
without 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 theStatisticsHandler
in 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 aResponse
from this method, subclasses should overrideAbstractParam.errorMessage(java.lang.Exception)
andAbstractParam.getErrorStatus()
to allow aWebApplicationException
to 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.