Class CrestUtil


  • public final class CrestUtil
    extends Object
    CREST utility class.
    • Method Detail

      • newCrestApplication

        public static org.forgerock.json.resource.CrestApplication newCrestApplication​(org.forgerock.json.resource.RequestHandler requestHandler,
                                                                                       String apiId)
        Creates a new CrestApplication.
        Parameters:
        requestHandler - The RequestHandler used for the ConnectionFactory.
        apiId - The API ID string to build the CrestApplication. Should start with mandatory 'frapi', i.e: 'frapi:openig:service.'
        Returns:
        a new CrestApplication.