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

hex.steam.SteamWebsocketServletProvider Maven / Gradle / Ivy

The newest version!
package hex.steam;

import water.server.ServletMeta;
import water.server.ServletProvider;
import water.server.WebsocketMeta;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

public class SteamWebsocketServletProvider implements ServletProvider {

    private static final List SERVLETS = Collections.unmodifiableList(Arrays.asList(
        new WebsocketMeta("/3/Steam.websocket", SteamWebsocketServlet.class)
    ));

    @Override
    public List servlets() {
        return Collections.emptyList();
    }

    @Override
    public List websockets() {
        return SERVLETS;
    }

    @Override
    public int priority() {
        return 0;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy