public final class ServerProviderFactory extends ProviderFactory
Modifier and Type | Class and Description |
---|---|
static class |
ServerProviderFactory.ExceptionProviderInfoComparator |
ProviderFactory.AbstractPriorityComparator, ProviderFactory.BindingPriorityComparator, ProviderFactory.ClassComparator, ProviderFactory.NameKey, ProviderFactory.NameKeyComparator, ProviderFactory.NameKeyMap<T>, ProviderFactory.ProviderInfoClassComparator
ACTIVE_JAXRS_PROVIDER_KEY, CLIENT_FACTORY_NAME, DEFAULT_FILTER_NAME_BINDING, IGNORE_TYPE_VARIABLES, PROVIDER_SELECTION_PROPERTY_CHANGED, readerInterceptors, SERVER_FACTORY_NAME, writerInterceptors
addProviderToList, compareClasses, compareClasses, compareCustomStatus, createContextProvider, createContextResolver, createContextResolver, createMessageBodyReader, createMessageBodyReaderInterceptor, createMessageBodyWriter, createMessageBodyWriterInterceptor, createParameterHandler, createProvider, createProviderFromConstructor, filterContractSupported, getBoundFilters, getBus, getContextResolvers, getDefaultJaxbWriter, getFilterNameBindings, getFilterNameBindings, getFilterPriority, handleMapper, handleMapper, initCache, initFactory, initProviders, injectContextProxies, isParamConverterContextsAvailable, mapInterceptorFilters, prepareProviders, registerUserProvider, setBus, setBusProviders, setCommonProviders, setProviderComparator, setSchemaLocations, setUserProviders
public static ServerProviderFactory getInstance()
public static ServerProviderFactory createInstance(Bus bus)
public static ServerProviderFactory getInstance(Message m)
public List<ProviderInfo<javax.ws.rs.container.ContainerRequestFilter>> getPreMatchContainerRequestFilters()
public List<ProviderInfo<javax.ws.rs.container.ContainerRequestFilter>> getPostMatchContainerRequestFilters(Set<String> names)
public List<ProviderInfo<javax.ws.rs.container.ContainerResponseFilter>> getContainerResponseFilters(Set<String> names)
public void addBeanParamInfo(BeanParamInfo bpi)
public BeanParamInfo getBeanParamInfo(Class<?> beanClass)
public <T extends Throwable> javax.ws.rs.ext.ExceptionMapper<T> createExceptionMapper(Class<?> exceptionType, Message m)
protected void setProviders(boolean custom, boolean busGlobal, Object... providers)
setProviders
in class ProviderFactory
protected void injectApplicationIntoFeature(javax.ws.rs.core.Feature feature)
protected void injectContextProxiesIntoProvider(ProviderInfo<?> pi)
injectContextProxiesIntoProvider
in class ProviderFactory
protected void injectContextValues(ProviderInfo<?> pi, Message m)
injectContextValues
in class ProviderFactory
public RequestPreprocessor getRequestPreprocessor()
public void setApplicationProvider(ApplicationInfo app)
public ApplicationInfo getApplicationProvider()
public void setRequestPreprocessor(RequestPreprocessor rp)
public void clearExceptionMapperProxies()
public void clearProviders()
clearProviders
in class ProviderFactory
public void clearThreadLocalProxies()
clearThreadLocalProxies
in class ProviderFactory
public void applyDynamicFeatures(List<ClassResourceInfo> list)
public javax.ws.rs.core.Configuration getConfiguration(Message m)
getConfiguration
in class ProviderFactory
protected static boolean isPrematching(Class<?> filterCls)
public static void clearThreadLocalProxies(Message message)
public static void clearThreadLocalProxies(ServerProviderFactory factory, Message message)
public static void releaseRequestState(Message message)
public static void releaseRequestState(ServerProviderFactory factory, Message message)
Apache CXF