@Provides
	@Singleton
	@Named(GuiceProperties.REST_SERVICES_PREFIX)
	public String getRestServicesPrefix(ServletContext context)
	{
		String restPath = context.getInitParameter(RESTEASY_MAPPING_PREFIX);

		if (restPath == null || restPath.isEmpty() || restPath.equals("/"))
		{
			return "";
		}
		else
		{
			return restPath;
		}
	}
@ Provides @ Singleton @ Named ( GuiceProperties . REST_SERVICES_PREFIX ) public String getRestServicesPrefix ( ServletContext context ) { String restPath = context . getInitParameter ( RESTEASY_MAPPING_PREFIX ) ; if ( restPath == null || restPath . isEmpty ( ) || restPath . equals ( "/" ) ) { return "" ; } else { return restPath ; } }
Retrieves the RESTeasy mapping prefix - this is the path under the webapp root where RESTeasy services are mapped.

@param context

@return