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

com.enonic.xp.web.websocket.WebSocketConfig Maven / Gradle / Ivy

The newest version!
package com.enonic.xp.web.websocket;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public final class WebSocketConfig
{
    private List subProtocols;

    private Map data;

    public List getSubProtocols()
    {
        return this.subProtocols != null ? this.subProtocols : new ArrayList<>();
    }

    public void setSubProtocols( final List subProtocols )
    {
        this.subProtocols = subProtocols;
    }

    public Map getData()
    {
        return this.data != null ? this.data : new HashMap<>();
    }

    public void setData( final Map data )
    {
        this.data = data;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy