Polish
This commit is contained in:
@@ -157,6 +157,11 @@ content into your application; rather pick only the properties that you need.
|
||||
spring.velocity.suffix=.vm
|
||||
spring.velocity.view-names= # whitelist of view names that can be resolved
|
||||
|
||||
# JERSEY ({sc-spring-boot-autoconfigure}}/jersey/JerseyProperties.{sc-ext}[JerseyProperties])
|
||||
spring.jersey.type=servlet # servlet or filter
|
||||
spring.jersey.init= # init params
|
||||
spring.jersey.filter.order=
|
||||
|
||||
# INTERNATIONALIZATION ({sc-spring-boot-autoconfigure}/MessageSourceAutoConfiguration.{sc-ext}[MessageSourceAutoConfiguration])
|
||||
spring.messages.basename=messages
|
||||
spring.messages.cacheSeconds=-1
|
||||
|
||||
@@ -1084,14 +1084,12 @@ servlet will be registered and mapped to '`+/*+`' by default. You can change the
|
||||
by adding `@ApplicationPath` to your `ResourceConfig`.
|
||||
|
||||
By default Jersey will be set up as a Servlet in a `@Bean` of type
|
||||
`ServletRegistrationBean` named "jerseyServletRegistration". You can
|
||||
disable or override that bean by creating one of your own with the
|
||||
same name. You can also use a Filter instead of a Servlet by setting
|
||||
`spring.jersey.type=filter` (in which case the `@Bean` to replace or
|
||||
override is "jerseyFilterRegistration"). The servlet has an `@Order`
|
||||
which you can set with `spring.jersey.filter.order`. Both the Servlet
|
||||
and the Filter registrations can be given init parameters using
|
||||
`spring.jersey.init.*` to specify a map of properties.
|
||||
`ServletRegistrationBean` named "jerseyServletRegistration". You can disable or override
|
||||
that bean by creating one of your own with the same name. You can also use a Filter
|
||||
instead of a Servlet by setting `spring.jersey.type=filter` (in which case the `@Bean` to
|
||||
replace or override is "jerseyFilterRegistration"). The servlet has an `@Order`which you
|
||||
can set with `spring.jersey.filter.order`. Both the Servlet and the Filter registrations
|
||||
can be given init parameters using `spring.jersey.init.*` to specify a map of properties.
|
||||
|
||||
There is a {github-code}/spring-boot-samples/spring-boot-sample-jersey[Jersey sample] so
|
||||
you can see how to set things up. There is also a {github-code}/spring-boot-samples/spring-boot-sample-jersey1[Jersey 1.x sample].
|
||||
|
||||
Reference in New Issue
Block a user