APISonar


com.strategicgains.restexpress.Format.JSON

> com > strategicgains > restexpress > Format > JSON
com APIs strategicgains APIs restexpress APIs Format APIs JSON APIs

Example 1
protected void fillValues(Properties p)
	{
		this.port = Integer.parseInt(p.getProperty(PORT_PROPERTY, "8080"));
		this.defaultFormat = p.getProperty(DEFAULT_FORMAT_PROPERTY, Format.JSON);
		this.baseUrl = p.getProperty(BASE_URL_PROPERTY, "http://localhost:" + String.valueOf(port));
		this.executorThreadPoolSize = Integer.parseInt(p.getProperty(EXECUTOR_THREAD_POOL_SIZE, DEFAULT_EXECUTOR_THREAD_POOL_SIZE));
		MongoConfig mongoSettings = new MongoConfig(p);
		MysqlConfig mysqlSettings = new MysqlConfig(p);
		initialize(mysqlSettings, mongoSettings);
	}