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

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

c - getting error: cannot take the address of an rvalue of type 'int' -

python - GitPython: check if git is available -