Class ApiClientFapiContext
java.lang.Object
org.forgerock.services.context.AbstractContext
org.forgerock.openig.fapi.apiclient.ApiClientFapiContext
- All Implemented Interfaces:
Context
-
Field Summary
FieldsFields inherited from class org.forgerock.services.context.AbstractContext
data
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets theApiClient
or empty ifnull
.setApiClient
(ApiClient apiClient) Sets theApiClient
which must be non-null.Methods inherited from class org.forgerock.services.context.AbstractContext
as, asContext, containsContext, containsContext, get, getContext, getContextName, getId, getParent, getRootId, isRootContext, toJsonValue, toString
-
Field Details
-
NAME
Context's name.- See Also:
-
-
Constructor Details
-
ApiClientFapiContext
Create an emptyApiClientFapiContext
.- Parameters:
parent
- the parentContext
.
-
-
Method Details
-
getApiClient
Gets theApiClient
or empty ifnull
.- Returns:
- the
ApiClient
or empty ifnull
-
setApiClient
Sets theApiClient
which must be non-null.- Parameters:
apiClient
- TheApiClient
built from request- Returns:
- the
ApiClientFapiContext
instance
-