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