public class AdminHttpApplication extends Object implements org.forgerock.http.DescribedHttpApplication
Constructor and Description |
---|
AdminHttpApplication(String adminPrefix,
org.forgerock.json.JsonValue config,
Environment environment,
RunMode mode)
Construct a
AdminHttpApplication . |
Modifier and Type | Method and Description |
---|---|
org.forgerock.http.swagger.SwaggerApiProducer |
getApiProducer()
Needed to enforce generation of CREST APIs.
|
org.forgerock.util.Factory<org.forgerock.http.io.Buffer> |
getBufferFactory() |
EndpointRegistry |
getEndpointRegistry()
Returns the API endpoint registry.
|
protected org.forgerock.http.routing.Router |
getOpenIGRouter()
Returns the router that represents the /openig namespace (or whatever path/prefix value that was configured).
|
org.forgerock.http.Handler |
start() |
void |
stop() |
public AdminHttpApplication(String adminPrefix, org.forgerock.json.JsonValue config, Environment environment, RunMode mode) throws IOException
AdminHttpApplication
.adminPrefix
- the prefix to use in the URL to access the admin endpointsconfig
- the admin configurationenvironment
- the OpenIG environmentmode
- OpenIG run modeIOException
- when initialization failedpublic org.forgerock.http.Handler start() throws org.forgerock.http.HttpApplicationException
start
in interface org.forgerock.http.HttpApplication
org.forgerock.http.HttpApplicationException
public org.forgerock.util.Factory<org.forgerock.http.io.Buffer> getBufferFactory()
getBufferFactory
in interface org.forgerock.http.HttpApplication
public void stop()
stop
in interface org.forgerock.http.HttpApplication
public EndpointRegistry getEndpointRegistry()
protected org.forgerock.http.routing.Router getOpenIGRouter()
public org.forgerock.http.swagger.SwaggerApiProducer getApiProducer()
getApiProducer
in interface org.forgerock.http.DescribedHttpApplication
Copyright © 2025 Open Identity Platform Community. All rights reserved.