Class WSProbe$

java.lang.Object
akka.http.scaladsl.testkit.WSProbe$

public class WSProbe$ extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final WSProbe$
    Static reference to the singleton instance of this Scala object.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(int maxChunks, long maxChunkCollectionMills, akka.actor.ActorSystem system, akka.stream.Materializer materializer)
    Creates a WSProbe to use in tests against websocket handlers.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • MODULE$

      public static final WSProbe$ MODULE$
      Static reference to the singleton instance of this Scala object.
  • Constructor Details

    • WSProbe$

      public WSProbe$()
  • Method Details

    • apply

      public WSProbe apply(int maxChunks, long maxChunkCollectionMills, akka.actor.ActorSystem system, akka.stream.Materializer materializer)
      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)