Package org.forgerock.openig.http
Class GatewayHttpApplication
java.lang.Object
org.forgerock.openig.http.GatewayHttpApplication
- All Implemented Interfaces:
 HttpApplication
Configuration class for configuring the Identity Gateway.
- Since:
 - 3.1.0
 
- 
Constructor Summary
ConstructorsConstructorDescriptionGatewayHttpApplication(Environment environment, JsonValue config, EndpointRegistry registry, org.forgerock.monitoring.api.instrument.MeterRegistry meterRegistry, StartupMetrics parentStartupMetrics, org.forgerock.config.resolvers.PropertyResolver propertyResolver, HttpClientProvider httpClientProvider, WebSocketClientProvider webSocketClientProvider, WebSocketProxyFilterProvider webSocketProxyFilterProvider, Clock clock, IgTicker ticker, AsyncSessionManager sharedSessionManager, ProductInfo productInfo, org.forgerock.openig.tracing.TracingProvider tracingProvider) Construct aGatewayHttpApplication. - 
Method Summary
 
- 
Constructor Details
- 
GatewayHttpApplication
public GatewayHttpApplication(Environment environment, JsonValue config, EndpointRegistry registry, org.forgerock.monitoring.api.instrument.MeterRegistry meterRegistry, StartupMetrics parentStartupMetrics, org.forgerock.config.resolvers.PropertyResolver propertyResolver, HttpClientProvider httpClientProvider, WebSocketClientProvider webSocketClientProvider, WebSocketProxyFilterProvider webSocketProxyFilterProvider, Clock clock, IgTicker ticker, AsyncSessionManager sharedSessionManager, ProductInfo productInfo, org.forgerock.openig.tracing.TracingProvider tracingProvider) Construct aGatewayHttpApplication.- Parameters:
 environment- the environment to lookup for configurationconfig- the gateway configurationregistry- the endpoint registry to bind the API endpointsmeterRegistry- The meter registryparentStartupMetrics- the parentStartupMetricspropertyResolver- Root property resolver (notnull)httpClientProvider- The provider of HttpClientwebSocketClientProvider- The notification service providerwebSocketProxyFilterProvider- The WebSocket proxy filter providerclock- The clock to useticker- The ticker to usesharedSessionManager- The sessionManager to useproductInfo- The product informationtracingProvider- The gateway tracing configuration
 
 - 
 - 
Method Details
- 
start
Description copied from interface:HttpApplicationGets the rootHandlerthat will handle all HTTP requests.The
Handlerreturned from this method MUST be a singleton.- Specified by:
 startin interfaceHttpApplication- Returns:
 - The 
Handlerto handle HTTP requests. - Throws:
 HttpApplicationException- If there is a problem constructing the root applicationHandler.
 - 
getBufferFactory
Description copied from interface:HttpApplicationGets theFactorythat will create temporary storageBuffers to handle the processing of requests.May return
nullindicating that the container should provide a default buffer factory.- Specified by:
 getBufferFactoryin interfaceHttpApplication- Returns:
 - A 
BufferFactoryornull. 
 - 
stop
public void stop()Description copied from interface:HttpApplicationCalled when HTTP application is shutdown.Implementation should use this method to clear up all remaining resources.
- Specified by:
 stopin interfaceHttpApplication
 
 -