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

org.frameworkset.web.socket.handler.jetty.WebSocketToJettyExtensionConfigAdapter Maven / Gradle / Ivy

Go to download

bboss is a j2ee framework include aop/ioc,mvc,persistent,taglib,rpc,event ,bean-xml serializable and so on.http://www.bbossgroups.com

There is a newer version: 6.2.7
Show newest version
package org.frameworkset.web.socket.handler.jetty;

import java.util.Map;

import org.eclipse.jetty.websocket.api.extensions.ExtensionConfig;
import org.frameworkset.web.socket.inf.WebSocketExtension;

/**
 * @author Rossen Stoyanchev
 * @since 4.0
 */
public class WebSocketToJettyExtensionConfigAdapter extends ExtensionConfig {

	public WebSocketToJettyExtensionConfigAdapter(WebSocketExtension extension) {
		super(extension.getName());
		for (Map.Entry p : extension.getParameters().entrySet()) {
			super.setParameter(p.getKey(), p.getValue());
		}
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy