Package org.forgerock.openig.http
Class GatewayHttpApplication
- java.lang.Object
-
- org.forgerock.openig.http.GatewayHttpApplication
-
- All Implemented Interfaces:
org.forgerock.http.HttpApplication
public final class GatewayHttpApplication extends Object implements org.forgerock.http.HttpApplication
Configuration class for configuring the OpenIG Gateway.- Since:
- 3.1.0
-
-
Constructor Summary
Constructors Constructor Description GatewayHttpApplication(Environment environment, org.forgerock.json.JsonValue config, EndpointRegistry registry, RunMode mode)Construct aGatewayHttpApplication.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.forgerock.util.Factory<org.forgerock.http.io.Buffer>getBufferFactory()org.forgerock.http.Handlerstart()voidstop()
-
-
-
Constructor Detail
-
GatewayHttpApplication
public GatewayHttpApplication(Environment environment, org.forgerock.json.JsonValue config, EndpointRegistry registry, RunMode mode)
Construct aGatewayHttpApplication.- Parameters:
environment- the environment to lookup for configurationconfig- the gateway configurationregistry- the endpoint registry to bind the API endpointsmode- OpenIG run mode
-
-
Method Detail
-
start
public org.forgerock.http.Handler start() throws org.forgerock.http.HttpApplicationException- Specified by:
startin interfaceorg.forgerock.http.HttpApplication- Throws:
org.forgerock.http.HttpApplicationException
-
getBufferFactory
public org.forgerock.util.Factory<org.forgerock.http.io.Buffer> getBufferFactory()
- Specified by:
getBufferFactoryin interfaceorg.forgerock.http.HttpApplication
-
stop
public void stop()
- Specified by:
stopin interfaceorg.forgerock.http.HttpApplication
-
-