Closed yingqiaomxi closed 7 years ago
Two options:
components
- An array of components class names to inject (features, etc.). For example: org.glassfish.jersey.jackson.JacksonFeature
.I see. How can I configure the properties of a Feature by using this "components" field? For example, for a LoggingFeature, I may need to set up the logging level. How can I do that?
Many thanks!
Read through the rest of the configuration section in the README. I think what you are looking for is properties
properties - An object with additional properties to be set on the ResourceConfig
Yes, this is helpful!
In Jersey, we may use ResourceConfig to register a Feature.class. I wonder how I can do that in a vertx-jersey application?