public class EndpointsRegistry extends Object
Constructor and Description |
---|
EndpointsRegistry() |
Modifier and Type | Method and Description |
---|---|
EndpointsRegistry |
addEndpoints(RestEndpointBase... newEndpoints) |
EndpointsRegistry |
addResource(String basePath,
EndpointResource... resources) |
List<RestEndpointBase> |
getEndpoints() |
static EndpointsRegistry |
instance() |
static EndpointsRegistry |
load() |
static void |
registerDefaultEndpoints() |
static void |
shutdown() |
public EndpointsRegistry()
public static EndpointsRegistry instance()
public static EndpointsRegistry load()
public static void registerDefaultEndpoints()
public static void shutdown()
public EndpointsRegistry addResource(String basePath, EndpointResource... resources)
public EndpointsRegistry addEndpoints(RestEndpointBase... newEndpoints)
public List<RestEndpointBase> getEndpoints()
Copyright © 2016. All rights reserved.