Class CommonLDAPOptions
- Direct Known Subclasses:
LDAPConnectionFactory,LDAPListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.forgerock.util.Option<DecodeOptions> Sets the decoding options which will be used to control how requests and responses are decoded.static final org.forgerock.util.Option<Boolean> Specifies the value of theSO_KEEPALIVEsocket option for new connections.static final org.forgerock.util.Option<Integer> Specifies the value of theSO_LINGERsocket option for new connections.static final org.forgerock.util.Option<Boolean> Specifies the value of theSO_REUSEADDRsocket option for new connections.static final org.forgerock.util.Option<Boolean> Specifies the value of theTCP_NODELAYsocket option for new connections.static final org.forgerock.util.Option<String> Specifies the name of the provider to use for transport.static final org.forgerock.util.Option<ClassLoader> Specifies the class loader which will be used to load theTransportProvider. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
TRANSPORT_PROVIDER_CLASS_LOADER
Specifies the class loader which will be used to load theTransportProvider.By default the default class loader will be used.
The transport provider is loaded using
java.util.ServiceLoader, the JDK service-provider loading facility. The provider must be accessible from the same class loader that was initially queried to locate the configuration file; note that this is not necessarily the class loader from which the file was actually loaded. This method allows to provide a class loader to be used for loading the provider. -
TRANSPORT_PROVIDER
Specifies the name of the provider to use for transport.Transport providers implement
TransportProviderinterface.The name should correspond to the name of an existing provider, as returned by
TransportProvider#getName()method. -
TCP_NO_DELAY
Specifies the value of theTCP_NODELAYsocket option for new connections.The default setting is
trueand may be configured using theorg.forgerock.opendj.io.tcpNoDelayproperty. -
SO_REUSE_ADDRESS
Specifies the value of theSO_REUSEADDRsocket option for new connections.The default setting is
trueand may be configured using theorg.forgerock.opendj.io.reuseAddressproperty. -
SO_LINGER_IN_SECONDS
Specifies the value of theSO_LINGERsocket option for new connections.The default setting is
-1(disabled) and may be configured using theorg.forgerock.opendj.io.lingerproperty. -
SO_KEEPALIVE
Specifies the value of theSO_KEEPALIVEsocket option for new connections.The default setting is
trueand may be configured using theorg.forgerock.opendj.io.keepAliveproperty. -
LDAP_DECODE_OPTIONS
Sets the decoding options which will be used to control how requests and responses are decoded.
-
-
Constructor Details
-
CommonLDAPOptions
public CommonLDAPOptions()
-