Skip to content

Migrating to Reststop 3

Espen Fossen edited this page Feb 14, 2017 · 7 revisions

The main differences in Reststop 3.0 are internal, but there are some api changes for web applications:

  • ServletBuilder and FilterPhase has been moved out of reststop-api into reststop-servlet-api
  • The API of ServletBuilder is slightly changed in order to support binding a servlet/filter/resource to several paths.
  • In order to get your servlets deployed reststop-servlet-deploy-plugin is needed as a plugin.
  • AssetFilter has been pulled out into reststop-assets-plugin, so if you are serving assets this plugin has to be added to your build.

If you are packaging your application with the bootstrap mechanism and reststop-jetty-plugin you have to add reststop-servlet-api to containerDependencies (in execution of the dist goal on reststop-maven-plugin). See reststop-hello-world.

See also the release notes

Clone this wiki locally