diff --git a/docs/src/docs/asciidoc/guides/boot-findbyusername.adoc b/docs/src/docs/asciidoc/guides/boot-findbyusername.adoc index c2feb2e4..25bb9529 100644 --- a/docs/src/docs/asciidoc/guides/boot-findbyusername.adoc +++ b/docs/src/docs/asciidoc/guides/boot-findbyusername.adoc @@ -109,7 +109,7 @@ You can run the sample by obtaining the {download-url}[source code] and invoking [NOTE] ==== For the sample to work, you must http://redis.io/download[install Redis 2.8+] on localhost and run it with the default port (6379). -Alternatively, you can update the `JedisConnectionFactory` to point to a Redis server. +Alternatively, you can update the `RedisConnectionFactory` to point to a Redis server. Another option is to use https://www.docker.com/[Docker] to run Redis on localhost. See https://hub.docker.com/_/redis/[Docker Redis repository] for detailed instructions. ==== diff --git a/docs/src/docs/asciidoc/guides/boot-redis.adoc b/docs/src/docs/asciidoc/guides/boot-redis.adoc index 6a0699f1..6ca3a7de 100644 --- a/docs/src/docs/asciidoc/guides/boot-redis.adoc +++ b/docs/src/docs/asciidoc/guides/boot-redis.adoc @@ -92,7 +92,7 @@ You can run the sample by obtaining the {download-url}[source code] and invoking [NOTE] ==== For the sample to work, you must http://redis.io/download[install Redis 2.8+] on localhost and run it with the default port (6379). -Alternatively, you can update the `JedisConnectionFactory` to point to a Redis server. +Alternatively, you can update the `RedisConnectionFactory` to point to a Redis server. Another option is to use https://www.docker.com/[Docker] to run Redis on localhost. See https://hub.docker.com/_/redis/[Docker Redis repository] for detailed instructions. ==== diff --git a/docs/src/docs/asciidoc/guides/boot-websocket.adoc b/docs/src/docs/asciidoc/guides/boot-websocket.adoc index f556dda5..0cc5858a 100644 --- a/docs/src/docs/asciidoc/guides/boot-websocket.adoc +++ b/docs/src/docs/asciidoc/guides/boot-websocket.adoc @@ -84,7 +84,7 @@ server.session.timeout=60 [NOTE] ==== For the sample to work, you must http://redis.io/download[install Redis 2.8+] on localhost and run it with the default port (6379). -Alternatively, you can update the `LettuceConnectionFactory` to point to a Redis server. +Alternatively, you can update the `RedisConnectionFactory` to point to a Redis server. Another option is to use https://www.docker.com/[Docker] to run Redis on localhost. See https://hub.docker.com/_/redis/[Docker Redis repository] for detailed instructions. ==== diff --git a/docs/src/docs/asciidoc/guides/grails3.adoc b/docs/src/docs/asciidoc/guides/grails3.adoc index 0eabd615..6cb91030 100644 --- a/docs/src/docs/asciidoc/guides/grails3.adoc +++ b/docs/src/docs/asciidoc/guides/grails3.adoc @@ -85,7 +85,7 @@ You can run the sample by obtaining the {download-url}[source code] and invoking [NOTE] ==== For the sample to work, you must http://redis.io/download[install Redis 2.8+] on localhost and run it with the default port (6379). -Alternatively, you can update the `JedisConnectionFactory` to point to a Redis server. +Alternatively, you can update the `RedisConnectionFactory` to point to a Redis server. Another option is to use https://www.docker.com/[Docker] to run Redis on localhost. See https://hub.docker.com/_/redis/[Docker Redis repository] for detailed instructions. ==== diff --git a/docs/src/docs/asciidoc/guides/java-custom-cookie.adoc b/docs/src/docs/asciidoc/guides/java-custom-cookie.adoc index 08b01334..4ddf5e83 100644 --- a/docs/src/docs/asciidoc/guides/java-custom-cookie.adoc +++ b/docs/src/docs/asciidoc/guides/java-custom-cookie.adoc @@ -79,7 +79,7 @@ You can run the sample by obtaining the {download-url}[source code] and invoking [NOTE] ==== For the sample to work, you must http://redis.io/download[install Redis 2.8+] on localhost and run it with the default port (6379). -Alternatively, you can update the `LettuceConnectionFactory` to point to a Redis server. +Alternatively, you can update the `RedisConnectionFactory` to point to a Redis server. Another option is to use https://www.docker.com/[Docker] to run Redis on localhost. See https://hub.docker.com/_/redis/[Docker Redis repository] for detailed instructions. ==== diff --git a/docs/src/docs/asciidoc/guides/java-redis.adoc b/docs/src/docs/asciidoc/guides/java-redis.adoc index 7f05b785..5e15da18 100644 --- a/docs/src/docs/asciidoc/guides/java-redis.adoc +++ b/docs/src/docs/asciidoc/guides/java-redis.adoc @@ -126,7 +126,7 @@ You can run the sample by obtaining the {download-url}[source code] and invoking [NOTE] ==== For the sample to work, you must http://redis.io/download[install Redis 2.8+] on localhost and run it with the default port (6379). -Alternatively, you can update the `LettuceConnectionFactory` to point to a Redis server. +Alternatively, you can update the `RedisConnectionFactory` to point to a Redis server. Another option is to use https://www.docker.com/[Docker] to run Redis on localhost. See https://hub.docker.com/_/redis/[Docker Redis repository] for detailed instructions. ==== diff --git a/docs/src/docs/asciidoc/guides/java-rest.adoc b/docs/src/docs/asciidoc/guides/java-rest.adoc index 3c6f47d9..2144978b 100644 --- a/docs/src/docs/asciidoc/guides/java-rest.adoc +++ b/docs/src/docs/asciidoc/guides/java-rest.adoc @@ -127,7 +127,7 @@ You can run the sample by obtaining the {download-url}[source code] and invoking [NOTE] ==== For the sample to work, you must http://redis.io/download[install Redis 2.8+] on localhost and run it with the default port (6379). -Alternatively, you can update the `LettuceConnectionFactory` to point to a Redis server. +Alternatively, you can update the `RedisConnectionFactory` to point to a Redis server. Another option is to use https://www.docker.com/[Docker] to run Redis on localhost. See https://hub.docker.com/_/redis/[Docker Redis repository] for detailed instructions. ==== diff --git a/docs/src/docs/asciidoc/guides/java-security.adoc b/docs/src/docs/asciidoc/guides/java-security.adoc index e3aca357..116cadf5 100644 --- a/docs/src/docs/asciidoc/guides/java-security.adoc +++ b/docs/src/docs/asciidoc/guides/java-security.adoc @@ -131,7 +131,7 @@ You can run the sample by obtaining the {download-url}[source code] and invoking [NOTE] ==== For the sample to work, you must http://redis.io/download[install Redis 2.8+] on localhost and run it with the default port (6379). -Alternatively, you can update the `LettuceConnectionFactory` to point to a Redis server. +Alternatively, you can update the `RedisConnectionFactory` to point to a Redis server. Another option is to use https://www.docker.com/[Docker] to run Redis on localhost. See https://hub.docker.com/_/redis/[Docker Redis repository] for detailed instructions. ==== diff --git a/docs/src/docs/asciidoc/guides/java-users.adoc b/docs/src/docs/asciidoc/guides/java-users.adoc index 1871dcb2..890d43dc 100644 --- a/docs/src/docs/asciidoc/guides/java-users.adoc +++ b/docs/src/docs/asciidoc/guides/java-users.adoc @@ -20,7 +20,7 @@ You can run the sample by obtaining the {download-url}[source code] and invoking [NOTE] ==== For the sample to work, you must http://redis.io/download[install Redis 2.8+] on localhost and run it with the default port (6379). -Alternatively, you can update the `LettuceConnectionFactory` to point to a Redis server. +Alternatively, you can update the `RedisConnectionFactory` to point to a Redis server. Another option is to use https://www.docker.com/[Docker] to run Redis on localhost. See https://hub.docker.com/_/redis/[Docker Redis repository] for detailed instructions. ==== diff --git a/docs/src/docs/asciidoc/guides/xml-redis.adoc b/docs/src/docs/asciidoc/guides/xml-redis.adoc index d4b18b23..1bf7f24b 100644 --- a/docs/src/docs/asciidoc/guides/xml-redis.adoc +++ b/docs/src/docs/asciidoc/guides/xml-redis.adoc @@ -134,7 +134,7 @@ You can run the sample by obtaining the {download-url}[source code] and invoking [NOTE] ==== For the sample to work, you must http://redis.io/download[install Redis 2.8+] on localhost and run it with the default port (6379). -Alternatively, you can update the `LettuceConnectionFactory` to point to a Redis server. +Alternatively, you can update the `RedisConnectionFactory` to point to a Redis server. Another option is to use https://www.docker.com/[Docker] to run Redis on localhost. See https://hub.docker.com/_/redis/[Docker Redis repository] for detailed instructions. ==== diff --git a/spring-session-data-redis/src/main/java/org/springframework/session/data/redis/RedisOperationsSessionRepository.java b/spring-session-data-redis/src/main/java/org/springframework/session/data/redis/RedisOperationsSessionRepository.java index 35f0e69a..705d9591 100644 --- a/spring-session-data-redis/src/main/java/org/springframework/session/data/redis/RedisOperationsSessionRepository.java +++ b/spring-session-data-redis/src/main/java/org/springframework/session/data/redis/RedisOperationsSessionRepository.java @@ -64,7 +64,7 @@ import org.springframework.util.Assert; * A typical example of how to create a new instance can be seen below: * *
- * JedisConnectionFactory factory = new JedisConnectionFactory(); + * LettuceConnectionFactory factory = new LettuceConnectionFactory(); * * RedisOperationsSessionRepository redisSessionRepository = new RedisOperationsSessionRepository(factory); *diff --git a/spring-session-data-redis/src/main/java/org/springframework/session/data/redis/config/annotation/web/http/EnableRedisHttpSession.java b/spring-session-data-redis/src/main/java/org/springframework/session/data/redis/config/annotation/web/http/EnableRedisHttpSession.java index df61e2fd..c768f987 100644 --- a/spring-session-data-redis/src/main/java/org/springframework/session/data/redis/config/annotation/web/http/EnableRedisHttpSession.java +++ b/spring-session-data-redis/src/main/java/org/springframework/session/data/redis/config/annotation/web/http/EnableRedisHttpSession.java @@ -38,8 +38,8 @@ import org.springframework.session.data.redis.RedisFlushMode; * public class RedisHttpSessionConfig { * * {@literal @Bean} - * public JedisConnectionFactory connectionFactory() throws Exception { - * return new JedisConnectionFactory(); + * public LettuceConnectionFactory connectionFactory() { + * return new LettuceConnectionFactory(); * } * * }