/*
 * Javalin - https://javalin.io
 * Copyright 2017 David Åse
 * Licensed under Apache 2.0: https://github.com/tipsy/javalin/blob/master/LICENSE
 */

package io.javalin.embeddedserver.jetty.websocket;

@FunctionalInterface
public interface WebSocketConfig {
    void configure(WebSocketHandler webSocketHandler);
}

@@ -196,16 +196,495 @@
 ocket;%0A%0A
+/**%0A * WebSocketConfig is a functional interface which is used%0A * to configure a WebSocketHandler. The recommended shortname is %22ws%22:%0A * %3Cpre%3E%0A * %7B@code%0A * app.ws(%22/my-websocket-path%22, ws -%3E %7B%0A *     ws.onConnect(session -%3E ...);%0A *     ws.onMessage((session, message) -%3E ...);%0A *     ws.onClose((session, statusCode, reason) -%3E ...);%0A *     ws.onError((session, throwable) -%3E ...);%0A * %7D);%0A * %7D%0A * @see WebSocketHandler%0A * @see io.javalin.Javalin#ws(String, WebSocketConfig)%0A */%0A
 @Functio

Add Javadoc to WebSocketConfig