Class UrlConnectionFactory
java.lang.Object
org.apache.logging.log4j.core.net.UrlConnectionFactory
Constructs an HTTPURLConnection. This class should be considered to be internal
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic URLConnection
createConnection
(URL url) static <T extends URLConnection>
TcreateConnection
(URL url, long lastModifiedMillis, SslConfiguration sslConfiguration, AuthorizationProvider authorizationProvider)
-
Field Details
-
ALLOWED_PROTOCOLS
- See Also:
-
-
Constructor Details
-
UrlConnectionFactory
public UrlConnectionFactory()
-
-
Method Details
-
createConnection
public static <T extends URLConnection> T createConnection(URL url, long lastModifiedMillis, SslConfiguration sslConfiguration, AuthorizationProvider authorizationProvider) throws IOException - Throws:
IOException
-
createConnection
- Throws:
IOException
-