public class ThreadLocalProviders extends AbstractRestThreadLocalProxy<Providers>
Modifier | Constructor and Description |
---|---|
protected |
ThreadLocalProviders() |
Modifier and Type | Method and Description |
---|---|
<T> <any> |
getContextResolver(java.lang.Class<T> rawType,
MediaType mediaType) |
<T extends java.lang.Throwable> |
getExceptionMapper(java.lang.Class<T> rawType) |
<T> <any> |
getMessageBodyReader(java.lang.Class<T> rawType,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType) |
<T> <any> |
getMessageBodyWriter(java.lang.Class<T> rawType,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType) |
find, get, remove, set
public <T> <any> getContextResolver(java.lang.Class<T> rawType, MediaType mediaType)
public <T extends java.lang.Throwable> <any> getExceptionMapper(java.lang.Class<T> rawType)
public <T> <any> getMessageBodyReader(java.lang.Class<T> rawType, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, MediaType mediaType)
public <T> <any> getMessageBodyWriter(java.lang.Class<T> rawType, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, MediaType mediaType)