org.apache.cxf.jaxrs.provider
Class ServerProviderFactory
java.lang.Object
org.apache.cxf.jaxrs.provider.ProviderFactory
org.apache.cxf.jaxrs.provider.ServerProviderFactory
public final class ServerProviderFactory
- extends ProviderFactory
Methods inherited from class org.apache.cxf.jaxrs.provider.ProviderFactory |
addProviderToList, compareClasses, compareClasses, createContextProvider, createContextResolver, createContextResolver, createMessageBodyReader, createMessageBodyReaderInterceptor, createMessageBodyWriter, createMessageBodyWriterInterceptor, createParameterHandler, createProvider, createProviderFromConstructor, filterContractSupported, getBaseFactory, getBoundFilters, getBus, getDynamicConfiguration, getFilterNameBindings, getFilterPriority, getRegisteredJaxbWriter, handleMapper, initBaseFactory, initProviders, injectContextProxies, isBaseFactory, mapInterceptorFilters, prepareProviders, registerUserProvider, setBus, setBusProviders, setCommonProviders, setDynamicConfiguration, setSchemaLocations, setUserProviders |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static ServerProviderFactory getInstance()
createInstance
public static ServerProviderFactory createInstance(Bus bus)
getInstance
public static ServerProviderFactory getInstance(Message m)
getPreMatchContainerRequestFilters
public List<ProviderInfo<javax.ws.rs.container.ContainerRequestFilter>> getPreMatchContainerRequestFilters()
getPostMatchContainerRequestFilters
public List<ProviderInfo<javax.ws.rs.container.ContainerRequestFilter>> getPostMatchContainerRequestFilters(Set<String> names)
getContainerResponseFilters
public List<ProviderInfo<javax.ws.rs.container.ContainerResponseFilter>> getContainerResponseFilters(Set<String> names)
addBeanParamInfo
public void addBeanParamInfo(BeanParamInfo bpi)
getBeanParamInfo
public BeanParamInfo getBeanParamInfo(Class<?> beanClass)
createExceptionMapper
public <T extends Throwable> javax.ws.rs.ext.ExceptionMapper<T> createExceptionMapper(Class<?> exceptionType,
Message m)
setProviders
protected void setProviders(Object... providers)
- Specified by:
setProviders
in class ProviderFactory
injectContextProxiesIntoProvider
protected void injectContextProxiesIntoProvider(ProviderInfo<?> pi)
- Overrides:
injectContextProxiesIntoProvider
in class ProviderFactory
injectContextValues
protected void injectContextValues(ProviderInfo<?> pi,
Message m)
- Overrides:
injectContextValues
in class ProviderFactory
getRequestPreprocessor
public RequestPreprocessor getRequestPreprocessor()
setApplicationProvider
public void setApplicationProvider(ProviderInfo<javax.ws.rs.core.Application> app)
getApplicationProvider
public ProviderInfo<javax.ws.rs.core.Application> getApplicationProvider()
setRequestPreprocessor
public void setRequestPreprocessor(RequestPreprocessor rp)
clearExceptionMapperProxies
public void clearExceptionMapperProxies()
clearProviders
public void clearProviders()
- Overrides:
clearProviders
in class ProviderFactory
clearThreadLocalProxies
public void clearThreadLocalProxies()
- Overrides:
clearThreadLocalProxies
in class ProviderFactory
applyDynamicFeatures
public void applyDynamicFeatures(List<ClassResourceInfo> list)
isPrematching
protected static boolean isPrematching(Class<?> filterCls)
clearThreadLocalProxies
public static void clearThreadLocalProxies(Message message)
clearThreadLocalProxies
public static void clearThreadLocalProxies(ServerProviderFactory factory,
Message message)
releaseRequestState
public static void releaseRequestState(Message message)
releaseRequestState
public static void releaseRequestState(ServerProviderFactory factory,
Message message)
Apache CXF