public class ObjectWriterInjector extends Object
ObjectWriter
that JAX-RS Resource will use; usually this is done from a Servlet or JAX-RS filter
before execution reaches resource.Modifier and Type | Field and Description |
---|---|
protected static AtomicBoolean |
_hasBeenSet
Simple marker used to optimize out
ThreadLocal access in cases
where this feature is not being used |
protected static ThreadLocal<ObjectWriterModifier> |
_threadLocal |
Modifier and Type | Method and Description |
---|---|
static ObjectWriterModifier |
get() |
static ObjectWriterModifier |
getAndClear() |
static void |
set(ObjectWriterModifier mod) |
protected static final ThreadLocal<ObjectWriterModifier> _threadLocal
protected static final AtomicBoolean _hasBeenSet
ThreadLocal
access in cases
where this feature is not being usedpublic static void set(ObjectWriterModifier mod)
public static ObjectWriterModifier get()
public static ObjectWriterModifier getAndClear()
Copyright © 2016 FasterXML. All rights reserved.