public static class RedisSessionModule.Config
extends java.lang.Object
| Constructor and Description |
|---|
Config() |
Config(java.lang.String password,
java.lang.String host,
java.lang.Integer port)
Convenience constructor most of the time not used if you are using Ratpack Config.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getHost()
Get the address for Redis.
|
java.lang.String |
getPassword()
Get the password for Redis.
|
java.lang.Integer |
getPort()
The Redis port.
|
void |
setHost(java.lang.String host)
Set the address for Redis.
|
void |
setPassword(java.lang.String password)
Set the password for Redis.
|
void |
setPort(java.lang.Integer port)
Set the redis port.
|
public Config()
public Config(java.lang.String password,
java.lang.String host,
java.lang.Integer port)
password - Redis Passwordhost - Redis host addressport - Redis port to usepublic java.lang.String getPassword()
public void setPassword(java.lang.String password)
password - The password to use when connecting to Redispublic java.lang.String getHost()
public void setHost(java.lang.String host)
host - The address for Redispublic java.lang.Integer getPort()
public void setPort(java.lang.Integer port)
port - Which port to use for Redis