Class LoggingExceptionListener
- java.lang.Object
-
- org.apache.hc.core5.testing.classic.LoggingExceptionListener
-
- All Implemented Interfaces:
ExceptionListener
public class LoggingExceptionListener extends java.lang.Object implements ExceptionListener
-
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.Logger
connLog
static LoggingExceptionListener
INSTANCE
-
Fields inherited from interface org.apache.hc.core5.http.ExceptionListener
NO_OP, STD_ERR
-
-
Constructor Summary
Constructors Constructor Description LoggingExceptionListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onError(java.lang.Exception ex)
void
onError(HttpConnection conn, java.lang.Exception ex)
-
-
-
Field Detail
-
INSTANCE
public static final LoggingExceptionListener INSTANCE
-
connLog
private final org.slf4j.Logger connLog
-
-
Method Detail
-
onError
public void onError(java.lang.Exception ex)
- Specified by:
onError
in interfaceExceptionListener
-
onError
public void onError(HttpConnection conn, java.lang.Exception ex)
- Specified by:
onError
in interfaceExceptionListener
-
-