Package org.forgerock.openig.util
Class CrestUtil
- java.lang.Object
-
- org.forgerock.openig.util.CrestUtil
-
public final class CrestUtil extends Object
CREST utility class.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CrestApplication
newCrestApplication(RequestHandler requestHandler, String apiId, String version)
Creates a newCrestApplication
.
-
-
-
Method Detail
-
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.
-
-