From d4dfa8d97964fff9b3abc44b6c4f92995bd1b8c0 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Wed, 13 May 2015 08:46:22 +0100 Subject: [PATCH] Polish 18453c0e Document new configuration properties and remove redundant code --- .../boot/autoconfigure/web/ServerProperties.java | 11 ----------- .../asciidoc/appendix-application-properties.adoc | 3 +++ 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ServerProperties.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ServerProperties.java index fe4463281cf..419a49c36c6 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ServerProperties.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ServerProperties.java @@ -114,10 +114,6 @@ public class ServerProperties implements EmbeddedServletContainerCustomizer, Ord return this.undertow; } - public JspServlet jspServlet() { - return this.jspServlet; - } - public String getContextPath() { return this.contextPath; } @@ -455,13 +451,6 @@ public class ServerProperties implements EmbeddedServletContainerCustomizer, Ord } }); - factory.addContextCustomizers(new TomcatContextCustomizer() { - @Override - public void customize(Context context) { - context.setBackgroundProcessorDelay(Tomcat.this.backgroundProcessorDelay); - } - }); - String remoteIpHeader = getRemoteIpHeader(); String protocolHeader = getProtocolHeader(); if (StringUtils.hasText(remoteIpHeader) diff --git a/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc b/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc index 9a4cc1c85ab..fc1f86f1dbc 100644 --- a/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc +++ b/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc @@ -57,6 +57,9 @@ content into your application; rather pick only the properties that you need. server.session-timeout= # session timeout in seconds server.context-parameters.*= # Servlet context init parameters, e.g. server.context-parameters.a=alpha server.context-path= # the context path, defaults to '/' + server.jsp-servlet.class-name=org.apache.jasper.servlet.JspServlet # The class name of the JSP servlet + server.jsp-servlet.init-parameters.*= # Init parameters used to configure the JSP servlet + server.jsp-servlet.registered=true # Whether or not the JSP servlet is registered server.servlet-path= # the servlet path, defaults to '/' server.ssl.enabled=true # if SSL support is enabled server.ssl.client-auth= # want or need