
com.owlike.genson.ThreadLocalHolder Maven / Gradle / Ivy
package com.owlike.genson;
import static com.owlike.genson.Operations.checkNotNull;
import java.util.HashMap;
import java.util.Map;
/**
* Just another data holder that stores data in a threadlocal map.
* If you only want to share data across serializers and deserializers prefer using {@link Context}.
* Internally Genson uses it for the spring webmvc integration, so it can pass method signatures and
* extract its annotations, etc.
*
* @author eugen
* @see Context
* @see com.owlike.genson.ext.spring.ExtendedReqRespBodyMethodProcessor ExtendedReqRespBodyMethodProcessor
* @see com.owlike.genson.ext.spring.GensonMessageConverter GensonMessageConverter
*/
public final class ThreadLocalHolder {
private final static ThreadLocal
© 2015 - 2025 Weber Informatics LLC | Privacy Policy