public final class ServerProviderFactory extends ProviderFactory
ProviderFactory.AbstractPriorityComparator, ProviderFactory.BindingPriorityComparator, ProviderFactory.ClassComparator, ProviderFactory.NameKey, ProviderFactory.NameKeyComparator, ProviderFactory.NameKeyMap<T>
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, createContextProvider, createContextResolver, createContextResolver, createMessageBodyReader, createMessageBodyReaderInterceptor, createMessageBodyWriter, createMessageBodyWriterInterceptor, createParameterHandler, createProvider, createProviderFromConstructor, filterContractSupported, getBaseFactory, getBoundFilters, getBus, getFilterNameBindings, getFilterPriority, getProviderComparator, getRegisteredJaxbWriter, handleMapper, initBaseFactory, initProviders, injectContextProxies, isBaseFactory, 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(Object... providers)
setProviders
in class ProviderFactory
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