public final class StageResponse extends Object
Modifier and Type | Class and Description |
---|---|
static class |
StageResponse.Builder
Builder assists with the creation of
StageResponse instances. |
static interface |
StageResponse.RequirementsBuilder
Requirements builder allows for the definition of a snapshot token
callback, which gets invoked with just prior to requirements being
sent to the client.
|
Modifier and Type | Method and Description |
---|---|
SnapshotTokenCallback |
getCallback()
Returns the callback instance.
|
JsonValue |
getRequirements()
Returns the requirements.
|
String |
getStageTag()
Returns the stage tag.
|
boolean |
hasCallback()
Returns
true if the response contains a snapshot token callback instance. |
boolean |
hasRequirements()
Returns
true if the response has any requirements. |
static StageResponse.Builder |
newBuilder()
New builder to help construct a stage response.
|
public String getStageTag()
public boolean hasRequirements()
true
if the response has any requirements.true
if the response has any requirementspublic JsonValue getRequirements()
public boolean hasCallback()
true
if the response contains a snapshot token callback instance.true
if the response contains a snapshot token callback instancepublic SnapshotTokenCallback getCallback()
public static StageResponse.Builder newBuilder()
Copyright © 2010-2020, ForgeRock All Rights Reserved.