Top Description Constructors Methods
org.apache.hc.client5.http

public final Class ConnectExceptionSupport

extends Object
Class Inheritance
Annotations
@Internal
Imports
java.io.IOException, java.net.ConnectException, .InetAddress, .SocketTimeoutException, java.util.Arrays, org.apache.hc.core5.annotation.Internal, org.apache.hc.core5.net.NamedEndpoint

Connect exception support methods.
Since
5.0

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static ConnectTimeoutException
createConnectTimeoutException(final IOException cause, final NamedEndpoint namedEndpoint, final InetAddress... remoteAddresses)

public static HttpHostConnectException
createHttpHostConnectException(final IOException cause, final NamedEndpoint namedEndpoint, final InetAddress... remoteAddresses)

public static IOException
enhance(final IOException cause, final NamedEndpoint namedEndpoint, final InetAddress... remoteAddresses)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ConnectExceptionSupportback to summary
public ConnectExceptionSupport()

Method Detail

createConnectTimeoutExceptionback to summary
public static ConnectTimeoutException createConnectTimeoutException(final IOException cause, final NamedEndpoint namedEndpoint, final InetAddress... remoteAddresses)
createHttpHostConnectExceptionback to summary
public static HttpHostConnectException createHttpHostConnectException(final IOException cause, final NamedEndpoint namedEndpoint, final InetAddress... remoteAddresses)
enhanceback to summary
public static IOException enhance(final IOException cause, final NamedEndpoint namedEndpoint, final InetAddress... remoteAddresses)