File tree 1 file changed +5
-5
lines changed
spring-boot-docs/src/main/asciidoc
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -986,8 +986,8 @@ support a uniform Java DSL for customizing the error handling. For example:
986
986
private static class MyCustomizer implements EmbeddedServletContainerCustomizer {
987
987
988
988
@Override
989
- public void customize(ConfigurableEmbeddedServletContainer factory ) {
990
- factory .addErrorPages(new ErrorPage(HttpStatus.BAD_REQUEST, "/400"));
989
+ public void customize(ConfigurableEmbeddedServletContainer container ) {
990
+ container .addErrorPages(new ErrorPage(HttpStatus.BAD_REQUEST, "/400"));
991
991
}
992
992
993
993
}
@@ -1060,8 +1060,8 @@ class for a complete list.
1060
1060
If you need to configure your embdedded servlet container programmatically you can register
1061
1061
a Spring bean that implements the `EmbeddedServletContainerCustomizer` interface.
1062
1062
`EmbeddedServletContainerCustomizer` provides access to the
1063
- `ConfigurableEmbeddedServletContainerFactory ` which includes numerous customization
1064
- setter methods.
1063
+ `ConfigurableEmbeddedServletContainer ` which includes numerous customization setter
1064
+ methods.
1065
1065
1066
1066
[source,java,indent=0]
1067
1067
----
@@ -1082,7 +1082,7 @@ setter methods.
1082
1082
1083
1083
1084
1084
[[boot-features-customizing-configurableembeddedservletcontainerfactory-directly]]
1085
- ===== Customizing ConfigurableEmbeddedServletContainerFactory directly
1085
+ ===== Customizing ConfigurableEmbeddedServletContainer directly
1086
1086
If the above customization techniques are too limited, you can register the
1087
1087
`TomcatEmbeddedServletContainerFactory` or `JettyEmbeddedServletContainerFactory` bean
1088
1088
yourself.
You can’t perform that action at this time.
0 commit comments