Class FhirLoggingInterceptor
- java.lang.Object
-
- org.hl7.fhir.r4b.utils.client.network.FhirLoggingInterceptor
-
- All Implemented Interfaces:
okhttp3.Interceptor
public class FhirLoggingInterceptor extends Object implements okhttp3.Interceptor
-
-
Constructor Summary
Constructors Constructor Description FhirLoggingInterceptor(org.hl7.fhir.utilities.ToolingClientLogger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description okhttp3.Responseintercept(okhttp3.Interceptor.Chain chain)FhirLoggingInterceptorsetLogger(org.hl7.fhir.utilities.ToolingClientLogger logger)
-
-
-
Constructor Detail
-
FhirLoggingInterceptor
public FhirLoggingInterceptor(org.hl7.fhir.utilities.ToolingClientLogger logger)
-
-
Method Detail
-
setLogger
public FhirLoggingInterceptor setLogger(org.hl7.fhir.utilities.ToolingClientLogger logger)
-
intercept
public okhttp3.Response intercept(@Nonnull okhttp3.Interceptor.Chain chain) throws IOException
- Specified by:
interceptin interfaceokhttp3.Interceptor- Throws:
IOException
-
-