class WebSocketServerProps extends BaseServerProps {
    private static WebSocketServerProps instance;

    public static WebSocketServerProps getInstance() {
        if (instance == null) {
            instance = new WebSocketServerProps(10000);
        }

        return instance;
    }

    public WebSocketServerProps(int portBase) {
        super(ServerConstants.SIGNAL_WEBSOCKET, portBase);
    }




    /**
     * 构建 server url
     */
    public String buildWsServerUrl(boolean isSecure) {<FILL_FUNCTION_BODY>}
}

        StringBuilder buf = new StringBuilder();
        buf.append((isSecure ? "wws" : "ws"));
        buf.append("://");

        if (Utils.isEmpty(getHost())) {
            buf.append("localhost");
        } else {
            buf.append(getHost());
        }
        buf.append(":");
        buf.append(getPort());

        return buf.toString();
    
<methods>public int getCoreThreads() ,public java.lang.String getHost() ,public long getIdleTimeout() ,public long getIdleTimeoutOrDefault() ,public int getMaxThreads(boolean) ,public java.lang.String getName() ,public int getPort() ,public java.lang.String getWrapHost() ,public int getWrapPort() ,public boolean isIoBound() <variables>private java.lang.String PROP_CORE_THREADS,private java.lang.String PROP_HOST,private java.lang.String PROP_IDLE_TIMEOUT,private java.lang.String PROP_IO_BOUND,private java.lang.String PROP_MAX_THREADS,private java.lang.String PROP_NAME,private java.lang.String PROP_PORT,private java.lang.String PROP_WRAP_HOST,private java.lang.String PROP_WRAP_PORT,private int coreThreads,private java.lang.String host,private long idleTimeout,private boolean ioBound,private int maxThreads,private java.lang.String name,private int port,private java.lang.String wrapHost,private int wrapPort