Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 

The default mapping prefix under which your rest resources are available is "rest". You can easily change this by overriding the symbol in your application defaults:

Code Block
    @ApplicationDefaults
    public static void setApplicationDefaults(MappedConfiguration<String, Object> configuration) {
         configuration.add(ResteasySymbols.MAPPING_PREFIX, "/api");
    }

Notes:

If you get this exception:

...