Package org.forgerock.openig.handler
Class ClientHandlerHeaplet
- java.lang.Object
 - 
- org.forgerock.openig.heap.GenericHeaplet
 - 
- org.forgerock.openig.handler.HttpClientHandlerHeaplet
 - 
- org.forgerock.openig.handler.ClientHandlerHeaplet
 
 
 
 
- 
- All Implemented Interfaces:
 Heaplet
public class ClientHandlerHeaplet extends HttpClientHandlerHeaplet
Creates and initializes aClientHandlerin a heap environment.A
ClientHandlerserves the purpose of communicating from IG to a remote server. N.B. It should not be used as aHandlerto proxy requests to the protected application. 
- 
- 
Field Summary
- 
Fields inherited from class org.forgerock.openig.handler.HttpClientHandlerHeaplet
CONFIG_ASYNC_BEHAVIOR, CONFIG_ENABLE_CONNECTION_STATE, CONFIG_HTTP2_PRIOR_KNOWLEDGE, CONFIG_NUMBER_OF_WORKERS, CONFIG_PROTOCOL_VERSION, CONFIG_WAIT_QUEUE_SIZE 
 - 
 
- 
Constructor Summary
Constructors Constructor Description ClientHandlerHeaplet() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Filter>filters(org.forgerock.openig.http.spi.HttpClientLoader loader, Options options)Returns a list ofFilterthat will be executed on every request before theHttpClientHandler.protected StringgetType()Returns the type of the IG object.- 
Methods inherited from class org.forgerock.openig.handler.HttpClientHandlerHeaplet
circuitBreakerFilter, configurationSupported, create, destroy, retryFilter 
- 
Methods inherited from class org.forgerock.openig.heap.GenericHeaplet
create, endpointRegistry, evaluatedWithHeapProperties, expression, getConfig, getHeap, getSecretService, getSecretsProvider, initialBindings, meterRegistryHolder, start 
 - 
 
 - 
 
- 
- 
Method Detail
- 
filters
protected List<Filter> filters(org.forgerock.openig.http.spi.HttpClientLoader loader, Options options) throws HeapException
Description copied from class:HttpClientHandlerHeapletReturns a list ofFilterthat will be executed on every request before theHttpClientHandler.- Specified by:
 filtersin classHttpClientHandlerHeaplet- Parameters:
 loader- theHttpClientLoaderassociated to that instance.options- the options that will be used to create theHttpClientHandler.- Returns:
 - A list of 
Filterthat will be executed on every request before theHttpClientHandler. - Throws:
 HeapException- if any error occurs during the setup of the filters.
 
- 
getType
protected String getType()
Description copied from class:GenericHeapletReturns the type of the IG object.- Overrides:
 getTypein classGenericHeaplet- Returns:
 - the type of the IG object
 
 
 - 
 
 -