All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.wings.comet.NullCometConnectionManager Maven / Gradle / Ivy

The newest version!
package org.wings.comet;

/**
 * A CometConnectionManager which does nothing to restrict the number of open
 * HangingGet requests per browser. It follows the Null Object Pattern.
 */
public class NullCometConnectionManager extends CometConnectionManager {

	@Override
	boolean addHangingGet() {
		return true;
	}

	@Override
	boolean canAddHangingGet() {
		return true;
	}

	@Override
	void removeHangingGet() {
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy