Class 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 Detail

      • GatewayHttpApplication

        public GatewayHttpApplication​(Environment environment,
                                      org.forgerock.json.JsonValue config,
                                      EndpointRegistry registry,
                                      RunMode mode)
        Parameters:
        environment - the environment to lookup for configuration
        config - the gateway configuration
        registry - the endpoint registry to bind the API endpoints
        mode - OpenIG run mode
    • Method Detail

      • start

        public org.forgerock.http.Handler start()
                                         throws org.forgerock.http.HttpApplicationException
        Specified by:
        start in interface org.forgerock.http.HttpApplication
        Throws:
        org.forgerock.http.HttpApplicationException
      • getBufferFactory

        public org.forgerock.util.Factory<org.forgerock.http.io.Buffer> getBufferFactory()
        Specified by:
        getBufferFactory in interface org.forgerock.http.HttpApplication
      • stop

        public void stop()
        Specified by:
        stop in interface org.forgerock.http.HttpApplication