Class WSProbe$
java.lang.Object
org.apache.pekko.http.javadsl.testkit.WSProbe$
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(org.apache.pekko.actor.ActorSystem system, org.apache.pekko.stream.Materializer materializer) create
(org.apache.pekko.actor.ActorSystem system, org.apache.pekko.stream.Materializer materializer, int maxChunks, long maxChunkCollectionMills) Creates a WSProbe to use in tests against websocket handlers.
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
WSProbe$
public WSProbe$()
-
-
Method Details
-
create
public WSProbe create(org.apache.pekko.actor.ActorSystem system, org.apache.pekko.stream.Materializer materializer) -
create
public WSProbe create(org.apache.pekko.actor.ActorSystem system, org.apache.pekko.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)
-