Rework common server customization

Update the configurable embedded web server factory interfaces to
extend `ConfigurableWebServerFactory` so that the can be used in a
`WebServerFactoryCustomizer`.

Extract server specific customization to their own auto-configuration
and align reactive/servlet server auto-configuration.

Closes gh-8573
This commit is contained in:
Phillip Webb
2018-02-19 23:58:58 -08:00
parent aafa1e9615
commit 46021928ba
36 changed files with 1545 additions and 1695 deletions

View File

@@ -14,14 +14,8 @@
<subpackage name="client">
<allow pkg="org.springframework.boot.web.client" />
</subpackage>
<subpackage name="embedded.jetty">
<allow pkg="org.springframework.boot.web.embedded.jetty" />
</subpackage>
<subpackage name="embedded.tomcat">
<allow pkg="org.springframework.boot.web.embedded.tomcat" />
</subpackage>
<subpackage name="embedded.undertow">
<allow pkg="org.springframework.boot.web.embedded.undertow" />
<subpackage name="embedded">
<allow pkg="org.springframework.boot.web.embedded" />
</subpackage>
<subpackage name="servlet">
<allow pkg="javax.servlet" />