Package | Description |
---|---|
org.forgerock.api.models |
ForgeRock API Descriptor models.
|
org.forgerock.api.util |
API Descriptor utility classes.
|
Modifier and Type | Method and Description |
---|---|
Parameter |
Parameter.Builder.build()
Builds the Parameter.
|
static Parameter |
Parameter.fromAnnotation(Class<?> type,
Parameter parameter)
Builds a Parameter object from the data in the annotation.
|
Parameter[] |
Resource.getParameters()
Getter of the parameters array.
|
Parameter[] |
Operation.getParameters()
Getter of the parameters array.
|
Parameter |
Items.getPathParameter()
Get the path parameter.
|
Modifier and Type | Method and Description |
---|---|
static Resource |
Resource.fromAnnotatedType(Class<?> type,
Resource.AnnotatedTypeVariant variant,
Items items,
ApiDescription descriptor,
Parameter... extraParameters)
Build a
Resource from an annotated request handler. |
static Resource |
Resource.fromAnnotatedType(Class<?> type,
Resource.AnnotatedTypeVariant variant,
SubResources subResources,
ApiDescription descriptor,
Parameter... extraParameters)
Build a
Resource from an annotated request handler. |
Resource.Builder |
Resource.Builder.parameter(Parameter parameter)
Sets a single supported parameter.
|
T |
Operation.Builder.parameter(Parameter parameter)
Sets a single supported parameters.
|
Items.Builder |
Items.Builder.pathParameter(Parameter pathParameter)
Sets the path parameter for this resource.
|
Modifier and Type | Method and Description |
---|---|
Resource.Builder |
Resource.Builder.parameters(List<Parameter> parameters)
Set multiple supported parameters.
|
T |
Operation.Builder.parameters(List<Parameter> parameters)
Set multiple supported parameters.
|
Modifier and Type | Method and Description |
---|---|
static Parameter[] |
PathUtil.buildPathParameters(String pathSegment)
Searches for curly-braces in the given
pathSegment , and creates a path-parameter for each that are found. |
Modifier and Type | Method and Description |
---|---|
static List<Parameter> |
PathUtil.mergeParameters(List<Parameter> parameterList,
Parameter... parameters)
Merges
Parameter values into the given parameterList , where conflicting
parameter-names will be replaced, and new parameters will otherwise be added. |
Modifier and Type | Method and Description |
---|---|
static List<Parameter> |
PathUtil.mergeParameters(List<Parameter> parameterList,
Parameter... parameters)
Merges
Parameter values into the given parameterList , where conflicting
parameter-names will be replaced, and new parameters will otherwise be added. |
Modifier and Type | Method and Description |
---|---|
static List<Parameter> |
PathUtil.mergeParameters(List<Parameter> parameterList,
Parameter... parameters)
Merges
Parameter values into the given parameterList , where conflicting
parameter-names will be replaced, and new parameters will otherwise be added. |
Copyright © 2010-2018, ForgeRock All Rights Reserved.