java - Jersey on Spring Boot - ApplicationPath -
is there more programmatic way, equivalent below config:
@applicationpath("api") public class myresourceconfig extends resourceconfig { , of setting application path jersey app? wanted make configurable , maybe make use like:
property("jersey.config.<application.path>", api); with addtitinal:
@configurationproperties(prefix = "jersey") public class myresourceconfig extends resourceconfig { @setter @getter protected string api;
you can set spring.jersey.application-path config in application.properties.
Comments
Post a Comment