public class APIFactory extends Object
Constructor and Description |
---|
APIFactory() |
Modifier and Type | Method and Description |
---|---|
static APIEndpoint |
makeApiEndpoint(APIEndpointSpec spec) |
static void |
registerApi(Router router,
String context,
APISpec spec)
Manufacture ApiInstances for each instance defined in the
given API and register them with the router.
|
public static APIEndpoint makeApiEndpoint(APIEndpointSpec spec)
Copyright © 2014. All Rights Reserved.