Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
d4dfa8d9
Commit
d4dfa8d9
authored
May 13, 2015
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish
18453c0e
Document new configuration properties and remove redundant code
parent
18453c0e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
11 deletions
+3
-11
ServerProperties.java
...ingframework/boot/autoconfigure/web/ServerProperties.java
+0
-11
appendix-application-properties.adoc
...cs/src/main/asciidoc/appendix-application-properties.adoc
+3
-0
No files found.
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ServerProperties.java
View file @
d4dfa8d9
...
@@ -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
)
...
...
spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc
View file @
d4dfa8d9
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment