Commit d4dfa8d9 authored by Andy Wilkinson's avatar Andy Wilkinson

Polish 18453c0e

Document new configuration properties and remove redundant code
parent 18453c0e
...@@ -114,10 +114,6 @@ public class ServerProperties implements EmbeddedServletContainerCustomizer, Ord ...@@ -114,10 +114,6 @@ public class ServerProperties implements EmbeddedServletContainerCustomizer, Ord
return this.undertow; return this.undertow;
} }
public JspServlet jspServlet() {
return this.jspServlet;
}
public String getContextPath() { public String getContextPath() {
return this.contextPath; return this.contextPath;
} }
...@@ -455,13 +451,6 @@ public class ServerProperties implements EmbeddedServletContainerCustomizer, Ord ...@@ -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 remoteIpHeader = getRemoteIpHeader();
String protocolHeader = getProtocolHeader(); String protocolHeader = getProtocolHeader();
if (StringUtils.hasText(remoteIpHeader) if (StringUtils.hasText(remoteIpHeader)
......
...@@ -57,6 +57,9 @@ content into your application; rather pick only the properties that you need. ...@@ -57,6 +57,9 @@ content into your application; rather pick only the properties that you need.
server.session-timeout= # session timeout in seconds server.session-timeout= # session timeout in seconds
server.context-parameters.*= # Servlet context init parameters, e.g. server.context-parameters.a=alpha server.context-parameters.*= # Servlet context init parameters, e.g. server.context-parameters.a=alpha
server.context-path= # the context path, defaults to '/' 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.servlet-path= # the servlet path, defaults to '/'
server.ssl.enabled=true # if SSL support is enabled server.ssl.enabled=true # if SSL support is enabled
server.ssl.client-auth= # want or need server.ssl.client-auth= # want or need
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment