Class HttpURLConnectionManager
java.lang.Object
org.apache.logging.log4j.core.appender.AbstractManager
org.apache.logging.log4j.core.appender.HttpManager
org.apache.logging.log4j.core.appender.HttpURLConnectionManager
- All Implemented Interfaces:
AutoCloseable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.logging.log4j.core.appender.AbstractManager
AbstractManager.AbstractFactoryData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Charsetprivate final intprivate final Property[]private final booleanprivate final Stringprivate final intprivate final SslConfigurationprivate final URLprivate final booleanFields inherited from class org.apache.logging.log4j.core.appender.AbstractManager
count, LOGGER -
Constructor Summary
ConstructorsConstructorDescriptionHttpURLConnectionManager(Configuration configuration, LoggerContext loggerContext, String name, URL url, String method, int connectTimeoutMillis, int readTimeoutMillis, Property[] headers, SslConfiguration sslConfiguration, boolean verifyHostname) -
Method Summary
Methods inherited from class org.apache.logging.log4j.core.appender.HttpManager
getConfiguration, startupMethods inherited from class org.apache.logging.log4j.core.appender.AbstractManager
close, getContentFormat, getCount, getLoggerContext, getManager, getManagerCount, getName, getStrSubstitutor, hasManager, log, logDebug, logError, logger, logWarn, narrow, release, releaseSub, stop, updateData
-
Field Details
-
CHARSET
-
url
-
isHttps
private final boolean isHttps -
method
-
connectTimeoutMillis
private final int connectTimeoutMillis -
readTimeoutMillis
private final int readTimeoutMillis -
headers
-
sslConfiguration
-
verifyHostname
private final boolean verifyHostname
-
-
Constructor Details
-
HttpURLConnectionManager
public HttpURLConnectionManager(Configuration configuration, LoggerContext loggerContext, String name, URL url, String method, int connectTimeoutMillis, int readTimeoutMillis, Property[] headers, SslConfiguration sslConfiguration, boolean verifyHostname)
-
-
Method Details
-
send
- Specified by:
sendin classHttpManager- Throws:
IOException
-