io.quarkus.rest.client.reactive.jackson.runtime.serialisers.JacksonCleanupRestClientClosingTask Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-rest-client-jackson Show documentation
Show all versions of quarkus-rest-client-jackson Show documentation
Jackson serialization support for REST Client
The newest version!
package io.quarkus.rest.client.reactive.jackson.runtime.serialisers;
import org.jboss.resteasy.reactive.client.impl.RestClientClosingTask;
import io.quarkus.rest.client.reactive.jackson.ClientObjectMapper;
/**
* Cleans up the mappings that is needed to support {@link ClientObjectMapper}
*/
public class JacksonCleanupRestClientClosingTask implements RestClientClosingTask {
@Override
public void close(Context context) {
JacksonUtil.contextResolverMap
.remove(new ResolverMapKey(context.baseTarget().getConfiguration(), context.restApiClass()));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy