Package java.net.http

Class HttpTimeoutException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
HttpConnectTimeoutException

public class HttpTimeoutException
extends IOException
Thrown when a response is not received within a specified time period.
Since:
11
See Also:
Serialized Form
  • Constructor Details

    • HttpTimeoutException

      public HttpTimeoutException​(String message)
      Constructs an HttpTimeoutException with the given detail message.
      Parameters:
      message - The detail message; can be null