*/
public class AutobahnApplicationConfig implements ServerApplicationConfig {
@Override
public Set<ServerEndpointConfig> getEndpointConfigs(Set<Class<? extends Endpoint>> endpointClasses) {
final ServerEndpointConfig serverEndpointConfig = ServerEndpointConfig.Builder.create(EchoServer.class, "/echo")
.extensions(Arrays.<Extension>asList(new PerMessageDeflateExtension(), new XWebkitDeflateExtension())).build();
return new HashSet<ServerEndpointConfig>() {{
add(serverEndpointConfig);
}};
}