public class SequenceHandler extends Object implements org.forgerock.http.Handler
Modifier and Type | Class and Description |
---|---|
static class |
SequenceHandler.Heaplet
Creates and initializes a sequence handler in a heap environment.
|
Constructor and Description |
---|
SequenceHandler() |
Modifier and Type | Method and Description |
---|---|
SequenceHandler |
addBinding(org.forgerock.http.Handler handler,
Expression<Boolean> postcondition)
Binds sequenced handlers with sequence processing postconditions.
|
org.forgerock.util.promise.Promise<org.forgerock.http.protocol.Response,org.forgerock.util.promise.NeverThrowsException> |
handle(org.forgerock.services.context.Context context,
org.forgerock.http.protocol.Request request) |
public SequenceHandler addBinding(org.forgerock.http.Handler handler, Expression<Boolean> postcondition)
handler
- The name of the handler heap object to dispatch to if the associated condition yields true.postcondition
- evaluated to determine if sequence continues (default: null
a.k.a. unconditional)public org.forgerock.util.promise.Promise<org.forgerock.http.protocol.Response,org.forgerock.util.promise.NeverThrowsException> handle(org.forgerock.services.context.Context context, org.forgerock.http.protocol.Request request)
handle
in interface org.forgerock.http.Handler
Copyright © 2025 Open Identity Platform Community. All rights reserved.