Package ratpack.session.store
Class RedisSessionModule.Config
- java.lang.Object
-
- ratpack.session.store.RedisSessionModule.Config
-
- Enclosing class:
- RedisSessionModule
public static class RedisSessionModule.Config extends Object
Configuration for Redis Session Storage.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHost()
Get the address for Redis.String
getPassword()
Get the password for Redis.Integer
getPort()
The Redis port.void
setHost(String host)
Set the address for Redis.void
setPassword(String password)
Set the password for Redis.void
setPort(Integer port)
Set the redis port.
-
-
-
Method Detail
-
getPassword
public String getPassword()
Get the password for Redis.- Returns:
- The password configured to use with Redis
-
setPassword
public void setPassword(String password)
Set the password for Redis.- Parameters:
password
- The password to use when connecting to Redis
-
getHost
public String getHost()
Get the address for Redis.- Returns:
- String of the host address for Redis
-
setHost
public void setHost(String host)
Set the address for Redis.- Parameters:
host
- The address for Redis
-
getPort
public Integer getPort()
The Redis port.- Returns:
- The port for Redis
-
setPort
public void setPort(Integer port)
Set the redis port.- Parameters:
port
- Which port to use for Redis
-
-