public class WebSocket$
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| static WebSocket$ | MODULE$Static reference to the singleton instance of this Scala object. | 
| Constructor and Description | 
|---|
| WebSocket$() | 
| Modifier and Type | Method and Description | 
|---|---|
| HttpResponse | handleWebSocketRequestWith(HttpRequest request,
                          org.apache.pekko.stream.javadsl.Flow<Message,Message,?> handler)If a given request is a WebSocket request a response accepting the request is returned using the given handler to
 handle the WebSocket message stream. | 
public static final WebSocket$ MODULE$
public HttpResponse handleWebSocketRequestWith(HttpRequest request, org.apache.pekko.stream.javadsl.Flow<Message,Message,?> handler)
request - (undocumented)handler - (undocumented)