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
31d8a647
Commit
31d8a647
authored
Jul 17, 2015
by
izeye
Committed by
Stephane Nicoll
Jul 17, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos
Closes gh-3531
parent
03abd205
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
appendix-application-properties.adoc
...cs/src/main/asciidoc/appendix-application-properties.adoc
+1
-1
howto.adoc
spring-boot-docs/src/main/asciidoc/howto.adoc
+1
-1
spring-boot-features.adoc
spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
+1
-1
No files found.
spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc
View file @
31d8a647
...
@@ -68,7 +68,7 @@ content into your application; rather pick only the properties that you need.
...
@@ -68,7 +68,7 @@ content into your application; rather pick only the properties that you need.
server.port=8080
server.port=8080
server.address= # bind to a specific NIC
server.address= # bind to a specific NIC
server.compression.enabled=false # if response compression is enabled
server.compression.enabled=false # if response compression is enabled
server.compression.exclude-user-agents= # list of user-agents to exclude from compression
server.compression.exclude
d
-user-agents= # list of user-agents to exclude from compression
server.compression.mime-types=text/html,text/xml,text/plain,text/css # comma-separated list of MIME types that should be compressed
server.compression.mime-types=text/html,text/xml,text/plain,text/css # comma-separated list of MIME types that should be compressed
server.compression.min-response-size=2048 # minimum response size that is required for compression to be performed
server.compression.min-response-size=2048 # minimum response size that is required for compression to be performed
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
...
...
spring-boot-docs/src/main/asciidoc/howto.adoc
View file @
31d8a647
...
@@ -416,7 +416,7 @@ that and be sure that it has initialized is to add a `@Bean` of type
...
@@ -416,7 +416,7 @@ that and be sure that it has initialized is to add a `@Bean` of type
`ApplicationListener<EmbeddedServletContainerInitializedEvent>` and pull the container
`ApplicationListener<EmbeddedServletContainerInitializedEvent>` and pull the container
out of the event when it is published.
out of the event when it is published.
A useful practice for use with `@WebIntegrationTest
s
` is to set `server.port=0`
A useful practice for use with `@WebIntegrationTest` is to set `server.port=0`
and then inject the actual ('`local`') port as a `@Value`. For example:
and then inject the actual ('`local`') port as a `@Value`. For example:
[source,java,indent=0,subs="verbatim,quotes,attributes"]
[source,java,indent=0,subs="verbatim,quotes,attributes"]
...
...
spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
View file @
31d8a647
...
@@ -3087,7 +3087,7 @@ directly into your own beans:
...
@@ -3087,7 +3087,7 @@ directly into your own beans:
@Autowired
@Autowired
public MyBean(AmqpAdmin amqpAdmin, AmqpTemplate amqpTemplate) {
public MyBean(AmqpAdmin amqpAdmin, AmqpTemplate amqpTemplate) {
this.a
dminTemplate = adminTemplate
;
this.a
mqpAdmin = amqpAdmin
;
this.amqpTemplate = amqpTemplate;
this.amqpTemplate = amqpTemplate;
}
}
...
...
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