Package org.forgerock.api.annotations
Annotation Type Handler
public @interface Handler
Details of a handler.
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionboolean
Whether MVCC style requests are supported. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionService description, for documentation purposes.The service identifier.Parameters on service paths and/or endpoints.The schema for all the standard resource operations (CRUDPQ) on this endpoint.Service title, for documentation purposes.
-
Element Details
-
mvccSupported
boolean mvccSupportedWhether MVCC style requests are supported.
-
-
-
id
The service identifier.
If a value is provided this indicates to the API Descriptor framework that you intend to reuse the same service definition multiple times, and that it should define the service globally and bind it to paths by reference instead of by value.
Example:"services": { "users:1.0": { "type": "collection", "resourceSchema": { "$ref": "#/definitions/user" }, ... } } "paths": { "/users": { "1.0": { "$ref": "#/services/users:1.0" }, } }
- Default:
- ""
-
resourceSchema
The schema for all the standard resource operations (CRUDPQ) on this endpoint. Only required if one or more of those operations are supported.- Default:
- @org.forgerock.api.annotations.Schema
-
title
Service title, for documentation purposes.- Default:
- ""
-
description
Service description, for documentation purposes.- Default:
- ""
-
parameters
Parameters on service paths and/or endpoints.- Default:
- {}
-