@ Provides @ Singleton @ Named ( GuiceProperties . STATIC_ENDPOINT_CONFIG_NAME ) public URI getRestServicesEndpoint ( LocalEndpointDiscovery localEndpointDiscovery ) { final URI base = localEndpointDiscovery . getLocalEndpoint ( ) ; return base ; }
Return the base path for this webapp