Class GetTimeLeftActionHandler
- java.lang.Object
-
- org.forgerock.openam.core.rest.session.action.GetTimeLeftActionHandler
-
- All Implemented Interfaces:
ActionHandler
public class GetTimeLeftActionHandler extends Object implements ActionHandler
Handler for 'getMaxTime' action - from CREST 12.0.0 onwards this means 'get remaining session time'.
-
-
Constructor Summary
Constructors Constructor Description GetTimeLeftActionHandler(SessionResourceUtil sessionResourceUtil)Constructs a GetTimeLeftActionHandler instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.forgerock.util.promise.Promise<org.forgerock.json.resource.ActionResponse,org.forgerock.json.resource.ResourceException>handle(String tokenId, org.forgerock.services.context.Context context, org.forgerock.json.resource.ActionRequest request)
-
-
-
Constructor Detail
-
GetTimeLeftActionHandler
public GetTimeLeftActionHandler(SessionResourceUtil sessionResourceUtil)
Constructs a GetTimeLeftActionHandler instance- Parameters:
sessionResourceUtil- An instance of the session resource manager
-
-
Method Detail
-
handle
public org.forgerock.util.promise.Promise<org.forgerock.json.resource.ActionResponse,org.forgerock.json.resource.ResourceException> handle(String tokenId, org.forgerock.services.context.Context context, org.forgerock.json.resource.ActionRequest request)
- Specified by:
handlein interfaceActionHandler
-
-