C - Type of the configuration used by this HttpEndpointpublic 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<org.forgerock.i18n.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 HttpEndpointserverContext - Context of this LDAP serverpublic boolean isConfigurationValid(List<org.forgerock.i18n.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-2020 Wren Security. All Rights Reserved.