Package org.forgerock.openig.util
Class CrestUtil
java.lang.Object
org.forgerock.openig.util.CrestUtil
CREST utility class.
-
Method Summary
Modifier and TypeMethodDescriptionstatic CrestApplicationnewCrestApplication(RequestHandler requestHandler, String apiId, String version) Creates a newCrestApplication.
-
Method Details
-
newCrestApplication
public static CrestApplication newCrestApplication(RequestHandler requestHandler, String apiId, String version) Creates a newCrestApplication.- Parameters:
requestHandler- TheRequestHandlerused for theConnectionFactory.apiId- The API ID string to build theCrestApplication. Should start with mandatory 'frapi', i.e: 'frapi:openig:service.'version- The API version.- Returns:
- a new CrestApplication.
-