public JettyServer(String webAppDir, int port, String context, int scanIntervalSeconds) {
		
		if (webAppDir == null) {
			throw new IllegalArgumentException("Invalid webAppDir of the server :"+webAppDir);
		}
		if (port < 0 || port > 65536) {
			throw new IllegalArgumentException("Invalid port of the server :"+port);
		}
		if (StrKit.isBlank(context)) {
			throw new IllegalArgumentException("Invalid context of the server :"+context);
		}
		if (scanIntervalSeconds < 0) {
			throw new IllegalArgumentException("Invalid scanIntervalSeconds of the server :"+scanIntervalSeconds);
		}
		
		this.webAppDir = webAppDir;
		this.context = context;
		this.port = port;
		this.scanIntervalSeconds = scanIntervalSeconds;
		
	}