public static class RedisSessionModule.Config extends Object
Constructor and Description |
---|
Config() |
Config(String password,
String host,
Integer port)
Convenience constructor most of the time not used if you are using Ratpack Config.
|
Modifier and Type | Method and 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.
|
public String getPassword()
public void setPassword(String password)
password
- The password to use when connecting to Redispublic String getHost()
public void setHost(String host)
host
- The address for Redispublic Integer getPort()
public void setPort(Integer port)
port
- Which port to use for Redis