micro-server
micro-server copied to clipboard
Question : Possible API change, remove Annotations and Configurable Module
This might make application configuration simpler, and slightly more functional.
Simplest example :
Microserver.of("my-app")
.run();
Example with configuration
Microserserver.of("my-app")
.filters(Filter1.class,Filter2.class)
.resourcesFromSpring(ResourceMarker.class,ResourceMarker2.class)
.onPort(8080)
.run();
It would open up the option of exposing the internals such as the Spring Context and Jersey itself for Configuration e.g.
Microserserver.of("my-app")
.configureJersey( resourceConfig -> resourceConfig.property("myProperty"));