Package java.net.http

Class HttpTimeoutException

  • All Implemented Interfaces:
    Serializable

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

      • HttpTimeoutException

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