Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ For more advanced driver customizations, you can register an arbitrary number of
The `CqlSession` can be customized with a bean of type `CqlSessionBuilderCustomizer`.
====

NOTE: If you're using `CqlSessionBuilder` to create multiple `CqlSession` beans, keep in mind the builder is mutable so make sure to inject a fresh copy for each session.
NOTE: If you use `CqlSessionBuilder` to create multiple `CqlSession` beans, keep in mind the builder is mutable so make sure to inject a fresh copy for each session.

The following code listing shows how to inject a Cassandra bean:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[[documentation.web]]
== Web
If you're developing Spring Boot web applications, take a look at the following content:
If you develop Spring Boot web applications, take a look at the following content:

* *Servlet Web Applications:* <<web#web.servlet, Spring MVC, Jersey, Embedded Servlet Containers>>
* *Reactive Web Applications:* <<web#web.reactive, Spring Webflux, Embedded Servlet Containers>>
* *Graceful Shutdown:* <<web#web.graceful-shutdown, Graceful Shutdown>>
* *Spring Security:* <<web#web.security, Default Security Configuration, Auto-configuration for OAuth2, SAML>>
* *Spring Session:* <<web#web.spring-session, Auto-configuration for Spring Session>>
* *Spring HATEOAS:* <<web#web.spring-hateoas, Auto-configuration for Spring HATEOAS>>
* *Spring HATEOAS:* <<web#web.spring-hateoas, Auto-configuration for Spring HATEOAS>>
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ Spring Boot does not provide any built in support for encrypting property values
The `EnvironmentPostProcessor` interface allows you to manipulate the `Environment` before the application starts.
See <<howto#howto.application.customize-the-environment-or-application-context>> for details.

If you're looking for a secure way to store credentials and passwords, the https://cloud.spring.io/spring-cloud-vault/[Spring Cloud Vault] project provides support for storing externalized configuration in https://www.vaultproject.io/[HashiCorp Vault].
If you need a secure way to store credentials and passwords, the https://cloud.spring.io/spring-cloud-vault/[Spring Cloud Vault] project provides support for storing externalized configuration in https://www.vaultproject.io/[HashiCorp Vault].



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ To help with the customization, some other properties are transferred from the S
| The current process ID (discovered if possible and when not already defined as an OS environment variable).
|===

If you're using Logback, the following properties are also transferred:
If you use Logback, the following properties are also transferred:

|===
| Spring Environment | System Property | Comments
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ include::{docs-java}/features/testing/springbootapplications/jsontests/MyJsonTes
NOTE: JSON helper classes can also be used directly in standard unit tests.
To do so, call the `initFields` method of the helper in your `@Before` method if you do not use `@JsonTest`.

If you're using Spring Boot's AssertJ-based helpers to assert on a number value at a given JSON path, you might not be able to use `isEqualTo` depending on the type.
If you use Spring Boot's AssertJ-based helpers to assert on a number value at a given JSON path, you might not be able to use `isEqualTo` depending on the type.
Instead, you can use AssertJ's `satisfies` to assert that the value matches the given condition.
For instance, the following example asserts that the actual number is a float value close to `0.15` within an offset of `0.01`.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ include::{docs-java}/howto/springmvc/writexmlrestservice/MyThing.java[]
----

JAXB is only available out of the box with Java 8.
If you're using a more recent Java generation, add the following dependency to your project:
If you use a more recent Java generation, add the following dependency to your project:

[source,xml,indent=0,subs="verbatim"]
----
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ NOTE: By default, a key prefix is added so that, if two separate caches use the
We strongly recommend keeping this setting enabled if you create your own `RedisCacheManager`.

TIP: You can take full control of the default configuration by adding a `RedisCacheConfiguration` `@Bean` of your own.
This can be useful if you're looking for customizing the default serialization strategy.
This can be useful if you need to customizing the default serialization strategy.

If you need more control over the configuration, consider registering a `RedisCacheManagerBuilderCustomizer` bean.
The following example shows a customizer that configures a specific time to live for `cache1` and `cache2`:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ To enable that feature, add the following dependency to your project:

WARNING: Properties that are added late to the environment, such as when using `@PropertySource`, will not be taken into account.

NOTE: Once you're done with the migration, please make sure to remove this module from your project's dependencies.
NOTE: Once you finish the migration, please make sure to remove this module from your project's dependencies.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[[web.servlet]]
== Servlet Web Applications
If you're looking to build servlet-based web applications, you can take advantage of Spring Boot's auto-configuration for Spring MVC or Jersey.
If you want to build servlet-based web applications, you can take advantage of Spring Boot's auto-configuration for Spring MVC or Jersey.

[[web.servlet.spring-mvc]]
=== The "`Spring Web MVC Framework`"
Expand Down