public class JaxrsInterceptorRegistry<T> extends Object
Modifier and Type | Class and Description |
---|---|
class |
JaxrsInterceptorRegistry.AbstractInterceptorFactory |
class |
JaxrsInterceptorRegistry.AbstractLegacyInterceptorFactory |
static class |
JaxrsInterceptorRegistry.AscendingPrecedenceComparator |
static class |
JaxrsInterceptorRegistry.DescendingPrecedenceComparator |
static interface |
JaxrsInterceptorRegistry.InterceptorFactory |
protected class |
JaxrsInterceptorRegistry.LegacyPerMethodInterceptorFactory |
protected class |
JaxrsInterceptorRegistry.LegacySingletonInterceptorFactory |
static class |
JaxrsInterceptorRegistry.Match |
protected class |
JaxrsInterceptorRegistry.OnDemandInterceptorFactory |
protected class |
JaxrsInterceptorRegistry.SingletonInterceptorFactory |
Modifier and Type | Field and Description |
---|---|
protected T[] |
cachedPostMatch |
protected T[] |
cachedPreMatch |
protected List<JaxrsInterceptorRegistry.InterceptorFactory> |
interceptors |
protected Class<T> |
intf |
protected List<JaxrsInterceptorRegistryListener> |
listeners |
protected ResteasyProviderFactory |
providerFactory |
Constructor and Description |
---|
JaxrsInterceptorRegistry(ResteasyProviderFactory providerFactory,
Class<T> intf) |
Modifier and Type | Method and Description |
---|---|
JaxrsInterceptorRegistry<T> |
clone(ResteasyProviderFactory factory) |
Class<T> |
getIntf() |
List<JaxrsInterceptorRegistryListener> |
getListeners() |
protected static List<Class<? extends Annotation>> |
getNameBound(Class<?> declaring) |
static int |
getPriority(Class<?> declaring) |
T[] |
postMatch(Class declaring,
AccessibleObject target) |
T[] |
preMatch() |
void |
register(JaxrsInterceptorRegistry.InterceptorFactory factory) |
void |
registerClass(Class<? extends T> declaring) |
void |
registerClass(Class<? extends T> declaring,
int priority) |
void |
registerSingleton(T interceptor) |
void |
registerSingleton(T interceptor,
int priority) |
protected void |
sort(List<JaxrsInterceptorRegistry.Match> matches) |
protected List<JaxrsInterceptorRegistry.InterceptorFactory> interceptors
protected List<JaxrsInterceptorRegistryListener> listeners
protected ResteasyProviderFactory providerFactory
protected volatile T[] cachedPreMatch
protected volatile T[] cachedPostMatch
public JaxrsInterceptorRegistry(ResteasyProviderFactory providerFactory, Class<T> intf)
protected static List<Class<? extends Annotation>> getNameBound(Class<?> declaring)
public static int getPriority(Class<?> declaring)
public JaxrsInterceptorRegistry<T> clone(ResteasyProviderFactory factory)
public List<JaxrsInterceptorRegistryListener> getListeners()
public T[] preMatch()
public T[] postMatch(Class declaring, AccessibleObject target)
protected void sort(List<JaxrsInterceptorRegistry.Match> matches)
public void register(JaxrsInterceptorRegistry.InterceptorFactory factory)
public void registerSingleton(T interceptor)
public void registerSingleton(T interceptor, int priority)
Copyright © 2020 JBoss by Red Hat. All rights reserved.