Package org.forgerock.openig.util
Class CrestUtil
java.lang.Object
org.forgerock.openig.util.CrestUtil
CREST utility class.
-
Method Summary
Modifier and TypeMethodDescriptionstatic CrestApplication
newCrestApplication
(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
- TheRequestHandler
used 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.
-