Class WebSocketIdleTimeoutException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.pekko.http.scaladsl.model.ws.WebSocketIdleTimeoutException
All Implemented Interfaces:
Serializable

public final class WebSocketIdleTimeoutException extends RuntimeException
Signals that no WebSocket frame was received or sent within the configured receive-idle-timeout or send-idle-timeout (see pekko.http.scaladsl.settings.WebSocketSettings).

This is deliberately not a java.util.concurrent.TimeoutException (such as a pekko.stream.StreamIdleTimeoutException): the client side TCP connection reports any TimeoutException passing through it as a TCP idle timeout.

Since:
2.0.0
See Also:
  • Constructor Details

    • WebSocketIdleTimeoutException

      public WebSocketIdleTimeoutException(String message)