Package akka.http.javadsl.testkit
Class WSProbe$
- java.lang.Object
-
- akka.http.javadsl.testkit.WSProbe$
-
public class WSProbe$ extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description WSProbe$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WSProbe
create(akka.actor.ActorSystem system, akka.stream.Materializer materializer)
WSProbe
create(akka.actor.ActorSystem system, akka.stream.Materializer materializer, int maxChunks, long maxChunkCollectionMills)
Creates a WSProbe to use in tests against websocket handlers.
-
-
-
Field Detail
-
MODULE$
public static final WSProbe$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
create
public WSProbe create(akka.actor.ActorSystem system, akka.stream.Materializer materializer)
-
create
public WSProbe create(akka.actor.ActorSystem system, akka.stream.Materializer materializer, int maxChunks, long maxChunkCollectionMills)
Creates a WSProbe to use in tests against websocket handlers.- Parameters:
maxChunks
- The maximum number of chunks to collect for streamed messages.maxChunkCollectionMills
- The maximum time in milliseconds to collect chunks for streamed messages.system
- (undocumented)materializer
- (undocumented)- Returns:
- (undocumented)
-
-