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 SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetHost()Get the address for Redis.StringgetPassword()Get the password for Redis.IntegergetPort()The Redis port.voidsetHost(String host)Set the address for Redis.voidsetPassword(String password)Set the password for Redis.voidsetPort(Integer port)Set the redis port.
 
- 
- 
- 
Method Detail- 
getPasswordpublic String getPassword() Get the password for Redis.- Returns:
- The password configured to use with Redis
 
 - 
setPasswordpublic void setPassword(String password) Set the password for Redis.- Parameters:
- password- The password to use when connecting to Redis
 
 - 
getHostpublic String getHost() Get the address for Redis.- Returns:
- String of the host address for Redis
 
 - 
setHostpublic void setHost(String host) Set the address for Redis.- Parameters:
- host- The address for Redis
 
 - 
getPortpublic Integer getPort() The Redis port.- Returns:
- The port for Redis
 
 - 
setPortpublic void setPort(Integer port) Set the redis port.- Parameters:
- port- Which port to use for Redis
 
 
- 
 
-