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
Creates and initializes a
ClientHandler
in a heap environment.
A ClientHandler
serves the purpose of communicating from IG to a remote server. N.B. It should not be used
as a Handler
to proxy requests to the protected application.
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class org.forgerock.openig.handler.HttpClientHandlerHeaplet
circuitBreakerFilter, create, destroy, retryFilter
Methods inherited from class org.forgerock.openig.heap.GenericHeaplet
create, endpointRegistry, evaluatedWithHeapProperties, expression, getConfig, getHeap, initialBindings, meterRegistryHolder, start
-
Field Details
-
NAME
Public name used by resolver.- See Also:
-
-
Constructor Details
-
ClientHandlerHeaplet
public ClientHandlerHeaplet()
-
-
Method Details
-
filters
Description copied from class:HttpClientHandlerHeaplet
Returns a list ofFilter
that will be executed on every request before theHttpClientHandler
.- Specified by:
filters
in classHttpClientHandlerHeaplet
- Parameters:
options
- the options that will be used to create theHttpClientHandler
.- Returns:
- A list of
Filter
that will be executed on every request before theHttpClientHandler
. - Throws:
HeapException
- if any error occurs during the setup of the filters.
-
getType
Description copied from class:GenericHeaplet
Returns the type of the IG object.- Overrides:
getType
in classGenericHeaplet
- Returns:
- the type of the IG object
-