Class EchoTestClientApp
java.lang.Object
org.apache.pekko.http.impl.engine.ws.EchoTestClientApp
An example App that runs a quick test against the websocket server at wss://echo.websocket.org
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static final String[]
args()
static org.apache.pekko.stream.scaladsl.Source<scala.runtime.Nothing$,
org.apache.pekko.NotUsed> delayedCompletion
(scala.concurrent.duration.FiniteDuration delay) static void
delayedInit
(scala.Function0<scala.runtime.BoxedUnit> body) static org.apache.pekko.stream.scaladsl.Flow<Message,
Message, scala.concurrent.Future<scala.collection.immutable.Seq<String>>> static final long
static final void
static scala.collection.immutable.List<Message>
messages()
static scala.concurrent.Future<scala.collection.immutable.Seq<String>>
res()
protected abstract static void
scala$App$_setter_$executionStart_$eq
(long x$1) protected abstract static void
scala$App$_setter_$scala$App$$initCode_$eq
(scala.collection.mutable.ListBuffer<scala.Function0<scala.runtime.BoxedUnit>> x$1) static String[]
static void
scala$App$$_args_$eq
(String[] x$1) static scala.collection.mutable.ListBuffer<scala.Function0<scala.runtime.BoxedUnit>>
static org.apache.pekko.stream.scaladsl.Sink<Message,
scala.concurrent.Future<scala.collection.immutable.Seq<String>>> sink()
static org.apache.pekko.stream.scaladsl.Source<Message,
org.apache.pekko.NotUsed> source()
static org.apache.pekko.actor.ActorSystem
system()
static scala.concurrent.Future<WebSocketUpgradeResponse>
upgrade()
-
Constructor Details
-
EchoTestClientApp
public EchoTestClientApp()
-
-
Method Details
-
executionStart
public static final long executionStart() -
system
public static org.apache.pekko.actor.ActorSystem system() -
delayedCompletion
public static org.apache.pekko.stream.scaladsl.Source<scala.runtime.Nothing$,org.apache.pekko.NotUsed> delayedCompletion(scala.concurrent.duration.FiniteDuration delay) -
messages
-
source
-
sink
-
echoClient
-
upgrade
-
res
-
args
-
scala$App$$_args
-
scala$App$$_args_$eq
-
scala$App$$initCode
public static scala.collection.mutable.ListBuffer<scala.Function0<scala.runtime.BoxedUnit>> scala$App$$initCode() -
delayedInit
public static void delayedInit(scala.Function0<scala.runtime.BoxedUnit> body) -
main
-
scala$App$_setter_$executionStart_$eq
protected abstract static void scala$App$_setter_$executionStart_$eq(long x$1) -
scala$App$_setter_$scala$App$$initCode_$eq
protected abstract static void scala$App$_setter_$scala$App$$initCode_$eq(scala.collection.mutable.ListBuffer<scala.Function0<scala.runtime.BoxedUnit>> x$1)
-