C
- Type of the configuration used by this HttpEndpoint
public abstract class HttpEndpoint<C extends org.forgerock.opendj.server.config.server.HttpEndpointCfg> extends Object
HttpApplication
to an URI.Modifier and Type | Field and Description |
---|---|
protected C |
configuration
Configuration of this endpoint.
|
protected ServerContext |
serverContext
Context of this LDAP server.
|
Constructor and Description |
---|
HttpEndpoint(C configuration,
ServerContext serverContext)
Create a new
HttpEndpoint with the given configuration. |
Modifier and Type | Method and Description |
---|---|
boolean |
isConfigurationValid(List<LocalizableMessage> unacceptableReasons)
Check that the configuration of this
HttpEndpoint is valid. |
abstract org.forgerock.http.HttpApplication |
newHttpApplication()
Create a new HttpApplication.
|
protected final C extends org.forgerock.opendj.server.config.server.HttpEndpointCfg configuration
protected final ServerContext serverContext
public HttpEndpoint(C configuration, ServerContext serverContext)
HttpEndpoint
with the given configuration.configuration
- Configuration of this HttpEndpoint
serverContext
- Context of this LDAP serverpublic boolean isConfigurationValid(List<LocalizableMessage> unacceptableReasons)
HttpEndpoint
is valid. This
default implementation try to instantiate and start the underlying
HttpApplication
.unacceptableReasons
- A list that can be used to hold messages about why the
configuration is not acceptable.public abstract org.forgerock.http.HttpApplication newHttpApplication() throws InitializationException
HttpApplication
configured and ready to be started.InitializationException
- If the application cannot be created.Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.