Class Rest2LdapEndpoint
java.lang.Object
org.opends.server.api.HttpEndpoint<Rest2ldapEndpointCfg>
org.opends.server.protocols.http.rest2ldap.Rest2LdapEndpoint
Encapsulates configuration required to start a REST2LDAP application embedded in this LDAP server. Acts as a factory
for
HttpApplication.-
Field Summary
Fields inherited from class org.opends.server.api.HttpEndpoint
configuration, serverContext, USE_DEFAULT_BUFFER_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionRest2LdapEndpoint(Rest2ldapEndpointCfg configuration, ServerContext serverContext) Create a new Rest2LdapEndpoint with the supplied configuration. -
Method Summary
Modifier and TypeMethodDescriptionorg.forgerock.http.HttpApplicationCreate a new HttpApplication.Methods inherited from class org.opends.server.api.HttpEndpoint
isConfigurationValid
-
Constructor Details
-
Rest2LdapEndpoint
Create a new Rest2LdapEndpoint with the supplied configuration.- Parameters:
configuration- Configuration to use for theHttpApplicationserverContext- Server of this LDAP server
-
-
Method Details
-
newHttpApplication
public org.forgerock.http.HttpApplication newHttpApplication()Description copied from class:HttpEndpointCreate a new HttpApplication.- Specified by:
newHttpApplicationin classHttpEndpoint<Rest2ldapEndpointCfg>- Returns:
- an
HttpApplicationconfigured and ready to be started.
-