Enum RouteToBackendSetRoutingType
java.lang.Object
java.lang.Enum<RouteToBackendSetRoutingType>
com.unboundid.ldap.sdk.unboundidds.controls.RouteToBackendSetRoutingType
- All Implemented Interfaces:
Serializable,Comparable<RouteToBackendSetRoutingType>,java.lang.constant.Constable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public enum RouteToBackendSetRoutingType
extends Enum<RouteToBackendSetRoutingType>
This enum defines the set of routing types that may be used in a route to
backend set request control.
NOTE: This class, and other classes within the
com.unboundid.ldap.sdk.unboundidds package structure, are only
supported for use against Ping Identity, UnboundID, and
Nokia/Alcatel-Lucent 8661 server products. These classes provide support
for proprietary functionality or for external specifications that are not
considered stable or mature enough to be guaranteed to work in an
interoperable way with other types of LDAP servers.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe routing type that is used for a control which specifies the absolute collection of backend sets to which the request should be forwarded.The routing type that is used for a control which specifies a routing hint to use as a first guess for processing the request and an optional collection of fallback sets. -
Method Summary
Modifier and TypeMethodDescriptionstatic RouteToBackendSetRoutingTypeRetrieves the route to backend set routing type with the specified name.byteRetrieves the BER type for this routing type value.static RouteToBackendSetRoutingTypevalueOf(byte berType) Retrieves the routing type value for the provided BER type.static RouteToBackendSetRoutingTypeReturns the enum constant of this type with the specified name.static RouteToBackendSetRoutingType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ABSOLUTE_ROUTING
The routing type that is used for a control which specifies the absolute collection of backend sets to which the request should be forwarded. -
ROUTING_HINT
The routing type that is used for a control which specifies a routing hint to use as a first guess for processing the request and an optional collection of fallback sets.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getBERType
Retrieves the BER type for this routing type value.- Returns:
- The BER type for this routing type value.
-
valueOf
Retrieves the routing type value for the provided BER type.- Parameters:
berType- The BER type for the routing type value to retrieve.- Returns:
- The routing type value that corresponds to the provided BER type,
or
nullif there is no corresponding routing type value.
-
forName
Retrieves the route to backend set routing type with the specified name.- Parameters:
name- The name of the route to backend set routing type to retrieve. It must not benull.- Returns:
- The requested route to backend set routing type, or
nullif no such type is defined.
-