public class ResteasyDeploymentImpl extends Object implements ResteasyDeployment
Constructor and Description |
---|
ResteasyDeploymentImpl() |
ResteasyDeploymentImpl(boolean quarkus) |
protected boolean widerRequestMatching
protected boolean useContainerFormParams
protected boolean deploymentSensitiveFactoryEnabled
protected boolean asyncJobServiceEnabled
protected boolean addCharset
protected int asyncJobServiceMaxJobResults
protected long asyncJobServiceMaxWait
protected int asyncJobServiceThreadPoolSize
protected String asyncJobServiceBasePath
protected String applicationClass
protected String injectorFactoryClass
protected InjectorFactory injectorFactory
protected javax.ws.rs.core.Application application
protected boolean registerBuiltin
protected Map<String,List<String>> scannedResourceClassesWithBuilder
protected boolean securityEnabled
protected List<ResourceFactory> resourceFactories
protected Registry registry
protected Dispatcher dispatcher
protected ResteasyProviderFactory providerFactory
protected ThreadLocalResteasyProviderFactory threadLocalProviderFactory
protected String paramMapping
protected boolean statisticsEnabled
public ResteasyDeploymentImpl()
public ResteasyDeploymentImpl(boolean quarkus)
public void start()
start
in interface ResteasyDeployment
protected void registerMappers()
protected void pushContext()
protected void initializeObjects()
protected void initializeDispatcher()
protected void initializeFactory()
public void merge(ResteasyDeployment other)
merge
in interface ResteasyDeployment
public static javax.ws.rs.core.Application createApplication(String applicationClass, Dispatcher dispatcher, ResteasyProviderFactory providerFactory)
public void registration()
registration
in interface ResteasyDeployment
protected void registerResources(boolean useScanning)
protected boolean registerApplication()
public void stop()
stop
in interface ResteasyDeployment
public boolean isUseContainerFormParams()
isUseContainerFormParams
in interface ResteasyDeployment
public void setUseContainerFormParams(boolean useContainerFormParams)
setUseContainerFormParams
in interface ResteasyDeployment
public List<String> getJndiComponentResources()
getJndiComponentResources
in interface ResteasyDeployment
public void setJndiComponentResources(List<String> jndiComponentResources)
setJndiComponentResources
in interface ResteasyDeployment
public String getApplicationClass()
getApplicationClass
in interface ResteasyDeployment
public void setApplicationClass(String applicationClass)
setApplicationClass
in interface ResteasyDeployment
public String getInjectorFactoryClass()
getInjectorFactoryClass
in interface ResteasyDeployment
public void setInjectorFactoryClass(String injectorFactoryClass)
setInjectorFactoryClass
in interface ResteasyDeployment
public boolean isDeploymentSensitiveFactoryEnabled()
isDeploymentSensitiveFactoryEnabled
in interface ResteasyDeployment
public void setDeploymentSensitiveFactoryEnabled(boolean deploymentSensitiveFactoryEnabled)
setDeploymentSensitiveFactoryEnabled
in interface ResteasyDeployment
public boolean isAsyncJobServiceEnabled()
isAsyncJobServiceEnabled
in interface ResteasyDeployment
public void setAsyncJobServiceEnabled(boolean asyncJobServiceEnabled)
setAsyncJobServiceEnabled
in interface ResteasyDeployment
public int getAsyncJobServiceMaxJobResults()
getAsyncJobServiceMaxJobResults
in interface ResteasyDeployment
public void setAsyncJobServiceMaxJobResults(int asyncJobServiceMaxJobResults)
setAsyncJobServiceMaxJobResults
in interface ResteasyDeployment
public long getAsyncJobServiceMaxWait()
getAsyncJobServiceMaxWait
in interface ResteasyDeployment
public void setAsyncJobServiceMaxWait(long asyncJobServiceMaxWait)
setAsyncJobServiceMaxWait
in interface ResteasyDeployment
public int getAsyncJobServiceThreadPoolSize()
getAsyncJobServiceThreadPoolSize
in interface ResteasyDeployment
public void setAsyncJobServiceThreadPoolSize(int asyncJobServiceThreadPoolSize)
setAsyncJobServiceThreadPoolSize
in interface ResteasyDeployment
public String getAsyncJobServiceBasePath()
getAsyncJobServiceBasePath
in interface ResteasyDeployment
public void setAsyncJobServiceBasePath(String asyncJobServiceBasePath)
setAsyncJobServiceBasePath
in interface ResteasyDeployment
public javax.ws.rs.core.Application getApplication()
getApplication
in interface ResteasyDeployment
public void setApplication(javax.ws.rs.core.Application application)
setApplication
in interface ResteasyDeployment
public boolean isRegisterBuiltin()
isRegisterBuiltin
in interface ResteasyDeployment
public void setRegisterBuiltin(boolean registerBuiltin)
setRegisterBuiltin
in interface ResteasyDeployment
public List<String> getProviderClasses()
getProviderClasses
in interface ResteasyDeployment
public void setProviderClasses(List<String> providerClasses)
setProviderClasses
in interface ResteasyDeployment
public List<Object> getProviders()
getProviders
in interface ResteasyDeployment
public void setProviders(List<Object> providers)
setProviders
in interface ResteasyDeployment
public List<Class> getActualProviderClasses()
getActualProviderClasses
in interface ResteasyDeployment
public void setActualProviderClasses(List<Class> actualProviderClasses)
setActualProviderClasses
in interface ResteasyDeployment
public List<Class> getActualResourceClasses()
getActualResourceClasses
in interface ResteasyDeployment
public void setActualResourceClasses(List<Class> actualResourceClasses)
setActualResourceClasses
in interface ResteasyDeployment
public boolean isSecurityEnabled()
isSecurityEnabled
in interface ResteasyDeployment
public void setSecurityEnabled(boolean securityEnabled)
setSecurityEnabled
in interface ResteasyDeployment
public List<String> getJndiResources()
getJndiResources
in interface ResteasyDeployment
public void setJndiResources(List<String> jndiResources)
setJndiResources
in interface ResteasyDeployment
public List<String> getResourceClasses()
getResourceClasses
in interface ResteasyDeployment
public void setResourceClasses(List<String> resourceClasses)
setResourceClasses
in interface ResteasyDeployment
public Map<String,String> getMediaTypeMappings()
getMediaTypeMappings
in interface ResteasyDeployment
public void setMediaTypeMappings(Map<String,String> mediaTypeMappings)
setMediaTypeMappings
in interface ResteasyDeployment
public List<Object> getResources()
getResources
in interface ResteasyDeployment
public void setResources(List<Object> resources)
setResources
in interface ResteasyDeployment
public Map<String,String> getLanguageExtensions()
getLanguageExtensions
in interface ResteasyDeployment
public void setLanguageExtensions(Map<String,String> languageExtensions)
setLanguageExtensions
in interface ResteasyDeployment
public Registry getRegistry()
getRegistry
in interface ResteasyDeployment
public void setRegistry(Registry registry)
setRegistry
in interface ResteasyDeployment
public Dispatcher getDispatcher()
getDispatcher
in interface ResteasyDeployment
public void setDispatcher(Dispatcher dispatcher)
setDispatcher
in interface ResteasyDeployment
public ResteasyProviderFactory getProviderFactory()
getProviderFactory
in interface ResteasyDeployment
public void setProviderFactory(ResteasyProviderFactory providerFactory)
setProviderFactory
in interface ResteasyDeployment
public void setMediaTypeParamMapping(String paramMapping)
setMediaTypeParamMapping
in interface ResteasyDeployment
public List<ResourceFactory> getResourceFactories()
getResourceFactories
in interface ResteasyDeployment
public void setResourceFactories(List<ResourceFactory> resourceFactories)
setResourceFactories
in interface ResteasyDeployment
public List<String> getUnwrappedExceptions()
getUnwrappedExceptions
in interface ResteasyDeployment
public void setUnwrappedExceptions(List<String> unwrappedExceptions)
setUnwrappedExceptions
in interface ResteasyDeployment
public Map<String,String> getConstructedDefaultContextObjects()
getConstructedDefaultContextObjects
in interface ResteasyDeployment
public void setConstructedDefaultContextObjects(Map<String,String> constructedDefaultContextObjects)
setConstructedDefaultContextObjects
in interface ResteasyDeployment
public Map<Class,Object> getDefaultContextObjects()
getDefaultContextObjects
in interface ResteasyDeployment
public void setDefaultContextObjects(Map<Class,Object> defaultContextObjects)
setDefaultContextObjects
in interface ResteasyDeployment
public List<String> getScannedResourceClasses()
getScannedResourceClasses
in interface ResteasyDeployment
public void setScannedResourceClasses(List<String> scannedResourceClasses)
setScannedResourceClasses
in interface ResteasyDeployment
public List<String> getScannedProviderClasses()
getScannedProviderClasses
in interface ResteasyDeployment
public void setScannedProviderClasses(List<String> scannedProviderClasses)
setScannedProviderClasses
in interface ResteasyDeployment
public List<String> getScannedJndiComponentResources()
getScannedJndiComponentResources
in interface ResteasyDeployment
public void setScannedJndiComponentResources(List<String> scannedJndiComponentResources)
setScannedJndiComponentResources
in interface ResteasyDeployment
public Map<String,List<String>> getScannedResourceClassesWithBuilder()
getScannedResourceClassesWithBuilder
in interface ResteasyDeployment
public void setScannedResourceClassesWithBuilder(Map<String,List<String>> scannedResourceClassesWithBuilder)
setScannedResourceClassesWithBuilder
in interface ResteasyDeployment
public boolean isWiderRequestMatching()
isWiderRequestMatching
in interface ResteasyDeployment
public void setWiderRequestMatching(boolean widerRequestMatching)
setWiderRequestMatching
in interface ResteasyDeployment
public boolean isAddCharset()
isAddCharset
in interface ResteasyDeployment
public void setAddCharset(boolean addCharset)
setAddCharset
in interface ResteasyDeployment
public InjectorFactory getInjectorFactory()
getInjectorFactory
in interface ResteasyDeployment
public void setInjectorFactory(InjectorFactory injectorFactory)
setInjectorFactory
in interface ResteasyDeployment
public Object getProperty(String key)
getProperty
in interface ResteasyDeployment
public void setProperty(String key, Object value)
setProperty
in interface ResteasyDeployment
public void setStatisticsEnabled(boolean statisticsEnabled)
setStatisticsEnabled
in interface ResteasyDeployment
Copyright © 2020 JBoss by Red Hat. All rights reserved.