Package | Description |
---|---|
no.digipost.api.client | |
no.digipost.api.client.internal.http.request.interceptor | |
no.digipost.api.client.internal.http.response |
Modifier and Type | Field and Description |
---|---|
EventLogger |
DigipostClientConfig.eventLogger |
static EventLogger |
EventLogger.NOOP_LOGGER |
Modifier and Type | Method and Description |
---|---|
default EventLogger |
EventLogger.withDebugLogTo(org.slf4j.Logger slf4jLogger) |
Modifier and Type | Method and Description |
---|---|
DigipostClientConfig.Builder |
DigipostClientConfig.Builder.eventLogger(EventLogger eventLogger) |
Constructor and Description |
---|
RequestContentHashFilter(EventLogger eventLogger,
Digester digester,
String header) |
RequestDateInterceptor(EventLogger eventLogger,
Clock clock) |
RequestSignatureInterceptor(Signer signer,
EventLogger eventLogger,
RequestContentHashFilter hashFilter) |
Modifier and Type | Method and Description |
---|---|
static void |
HttpResponseUtils.checkResponse(org.apache.http.HttpResponse response,
EventLogger eventLogger) |
static InputStream |
HttpResponseUtils.safelyOfferEntityStreamExternally(org.apache.http.client.methods.CloseableHttpResponse response,
EventLogger eventLogger)
Do proper resource handling in the case when offering the
stream from a http response
to a third party. |
Copyright © 2019 Digipost. All rights reserved.