public class GuacamoleProperties extends Object
Modifier and Type | Field and Description |
---|---|
static StringGuacamoleProperty |
GUACD_HOSTNAME
Deprecated.
The hostname of the server where guacd (the Guacamole proxy server) is
running.
|
static IntegerGuacamoleProperty |
GUACD_PORT
Deprecated.
The port that guacd (the Guacamole proxy server) is listening on.
|
static BooleanGuacamoleProperty |
GUACD_SSL
Deprecated.
Whether guacd requires SSL/TLS on connections.
|
Modifier and Type | Method and Description |
---|---|
static <Type> Type |
getProperty(GuacamoleProperty<Type> property)
Deprecated.
Given a GuacamoleProperty, parses and returns the value set for that
property in guacamole.properties, if any.
|
static <Type> Type |
getProperty(GuacamoleProperty<Type> property,
Type defaultValue)
Deprecated.
Given a GuacamoleProperty, parses and returns the value set for that
property in guacamole.properties, if any.
|
static <Type> Type |
getRequiredProperty(GuacamoleProperty<Type> property)
Deprecated.
Given a GuacamoleProperty, parses and returns the value set for that
property in guacamole.properties.
|
public static final StringGuacamoleProperty GUACD_HOSTNAME
public static final IntegerGuacamoleProperty GUACD_PORT
public static final BooleanGuacamoleProperty GUACD_SSL
public static <Type> Type getProperty(GuacamoleProperty<Type> property) throws org.apache.guacamole.GuacamoleException
Type
- The type that the given property is parsed into.property
- The property to read from guacamole.properties.org.apache.guacamole.GuacamoleException
- If an error occurs while parsing the value
for the given property in
guacamole.properties.public static <Type> Type getProperty(GuacamoleProperty<Type> property, Type defaultValue) throws org.apache.guacamole.GuacamoleException
Type
- The type that the given property is parsed into.property
- The property to read from guacamole.properties.defaultValue
- The value to return if no value was given in
guacamole.properties.org.apache.guacamole.GuacamoleException
- If an error occurs while parsing the value
for the given property in
guacamole.properties.public static <Type> Type getRequiredProperty(GuacamoleProperty<Type> property) throws org.apache.guacamole.GuacamoleException
Type
- The type that the given property is parsed into.property
- The property to read from guacamole.properties.org.apache.guacamole.GuacamoleException
- If an error occurs while parsing the value
for the given property in
guacamole.properties, or if the property is
not specified.Copyright © 2017. All rights reserved.