Interface ResteasyDeployment
- All Known Implementing Classes:
DelegateResteasyDeployment
,ResteasyDeploymentImpl
,VertxResteasyDeployment
public interface ResteasyDeployment
This class is used to configure and initialize the core components of RESTEasy.
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
addDisabledProviderClass
(String disabledProviderClass) Adds the provider to the set of providers which will be excluded when attempting to locate providers for processing requests.default void
addDisabledProviderClasses
(Set<String> disabledProviderClasses) Adds the providers to the set of providers which will be excluded when attempting to locate providers for processing requests.jakarta.ws.rs.core.Application
int
long
int
Returns an immutable set of disabled provider classes.getProperty
(String key) boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
merge
(ResteasyDeployment other) static boolean
onServer()
void
void
setActualProviderClasses
(List<Class> actualProviderClasses) void
setActualResourceClasses
(List<Class> actualResourceClasses) void
setAddCharset
(boolean addCharset) void
setApplication
(jakarta.ws.rs.core.Application application) void
setApplicationClass
(String applicationClass) void
setAsyncJobServiceBasePath
(String asyncJobServiceBasePath) void
setAsyncJobServiceEnabled
(boolean asyncJobServiceEnabled) void
setAsyncJobServiceMaxJobResults
(int asyncJobServiceMaxJobResults) void
setAsyncJobServiceMaxWait
(long asyncJobServiceMaxWait) void
setAsyncJobServiceThreadPoolSize
(int asyncJobServiceThreadPoolSize) void
setConstructedDefaultContextObjects
(Map<String, String> constructedDefaultContextObjects) void
setDefaultContextObjects
(Map<Class, Object> defaultContextObjects) void
setDeploymentSensitiveFactoryEnabled
(boolean deploymentSensitiveFactoryEnabled) default void
setDisabledProviderClasses
(String... disabledProviderClasses) Adds the providers to the set of providers which will be excluded when attempting to locate providers for processing requests.default void
setDisabledProviderClasses
(Set<String> disabledProviderClasses) Adds the providers to the set of providers which will be excluded when attempting to locate providers for processing requests.void
setDispatcher
(Dispatcher dispatcher) void
setInjectorFactory
(InjectorFactory injectorFactory) void
setInjectorFactoryClass
(String injectorFactoryClass) void
setJndiComponentResources
(List<String> jndiComponentResources) void
setJndiResources
(List<String> jndiResources) void
setLanguageExtensions
(Map<String, String> languageExtensions) void
setMediaTypeMappings
(Map<String, String> mediaTypeMappings) void
setMediaTypeParamMapping
(String paramMapping) void
setProperty
(String key, Object value) void
setProviderClasses
(List<String> providerClasses) void
setProviderFactory
(ResteasyProviderFactory providerFactory) void
setProviders
(List<Object> providers) void
setRegisterBuiltin
(boolean registerBuiltin) void
setRegistry
(Registry registry) void
setResourceClasses
(List<String> resourceClasses) void
setResourceFactories
(List<ResourceFactory> resourceFactories) void
setResources
(List<Object> resources) void
setScannedJndiComponentResources
(List<String> scannedJndiComponentResources) void
setScannedProviderClasses
(List<String> scannedProviderClasses) void
setScannedResourceClasses
(List<String> scannedResourceClasses) void
setScannedResourceClassesWithBuilder
(Map<String, List<String>> scannedResourceClassesWithBuilder) void
setSecurityEnabled
(boolean securityEnabled) void
setStatisticsEnabled
(boolean statisticsEnabled) void
setUnwrappedExceptions
(List<String> unwrappedExceptions) void
setUseContainerFormParams
(boolean useContainerFormParams) void
setWiderRequestMatching
(boolean widerRequestMatching) void
start()
void
stop()
-
Method Details
-
onServer
static boolean onServer() -
start
void start() -
merge
-
registration
void registration() -
stop
void stop() -
isUseContainerFormParams
boolean isUseContainerFormParams() -
setUseContainerFormParams
void setUseContainerFormParams(boolean useContainerFormParams) -
getJndiComponentResources
-
setJndiComponentResources
-
getApplicationClass
String getApplicationClass() -
setApplicationClass
-
getInjectorFactoryClass
String getInjectorFactoryClass() -
setInjectorFactoryClass
-
isDeploymentSensitiveFactoryEnabled
boolean isDeploymentSensitiveFactoryEnabled() -
setDeploymentSensitiveFactoryEnabled
void setDeploymentSensitiveFactoryEnabled(boolean deploymentSensitiveFactoryEnabled) -
isAsyncJobServiceEnabled
boolean isAsyncJobServiceEnabled() -
setAsyncJobServiceEnabled
void setAsyncJobServiceEnabled(boolean asyncJobServiceEnabled) -
getAsyncJobServiceMaxJobResults
int getAsyncJobServiceMaxJobResults() -
setAsyncJobServiceMaxJobResults
void setAsyncJobServiceMaxJobResults(int asyncJobServiceMaxJobResults) -
getAsyncJobServiceMaxWait
long getAsyncJobServiceMaxWait() -
setAsyncJobServiceMaxWait
void setAsyncJobServiceMaxWait(long asyncJobServiceMaxWait) -
getAsyncJobServiceThreadPoolSize
int getAsyncJobServiceThreadPoolSize() -
setAsyncJobServiceThreadPoolSize
void setAsyncJobServiceThreadPoolSize(int asyncJobServiceThreadPoolSize) -
getAsyncJobServiceBasePath
String getAsyncJobServiceBasePath() -
setAsyncJobServiceBasePath
-
getApplication
jakarta.ws.rs.core.Application getApplication() -
setApplication
void setApplication(jakarta.ws.rs.core.Application application) -
isRegisterBuiltin
boolean isRegisterBuiltin() -
setRegisterBuiltin
void setRegisterBuiltin(boolean registerBuiltin) -
getProviderClasses
-
setProviderClasses
-
getProviders
-
setProviders
-
getDisabledProviderClasses
-
addDisabledProviderClass
Adds the provider to the set of providers which will be excluded when attempting to locate providers for processing requests.- Parameters:
disabledProviderClass
- the fully qualified class name of the provider ot be disabled
-
addDisabledProviderClasses
Adds the providers to the set of providers which will be excluded when attempting to locate providers for processing requests.- Parameters:
disabledProviderClasses
- the fully qualified class names of the providers ot be disabled
-
setDisabledProviderClasses
Adds the providers to the set of providers which will be excluded when attempting to locate providers for processing requests. Any previously added disabled providers will be cleared first.- Parameters:
disabledProviderClasses
- the fully qualified class names of the providers ot be disabled
-
setDisabledProviderClasses
Adds the providers to the set of providers which will be excluded when attempting to locate providers for processing requests. Any previously added disabled providers will be cleared first.- Parameters:
disabledProviderClasses
- the fully qualified class names of the providers ot be disabled
-
getActualProviderClasses
-
setActualProviderClasses
-
getActualResourceClasses
-
setActualResourceClasses
-
isSecurityEnabled
boolean isSecurityEnabled() -
setSecurityEnabled
void setSecurityEnabled(boolean securityEnabled) -
getJndiResources
-
setJndiResources
-
getResourceClasses
-
setResourceClasses
-
getMediaTypeMappings
-
setMediaTypeMappings
-
getResources
-
setResources
-
getLanguageExtensions
-
setLanguageExtensions
-
getRegistry
Registry getRegistry() -
setRegistry
-
getDispatcher
Dispatcher getDispatcher() -
setDispatcher
-
getProviderFactory
ResteasyProviderFactory getProviderFactory() -
setProviderFactory
-
setMediaTypeParamMapping
-
getResourceFactories
List<ResourceFactory> getResourceFactories() -
setResourceFactories
-
getUnwrappedExceptions
-
setUnwrappedExceptions
-
getConstructedDefaultContextObjects
-
setConstructedDefaultContextObjects
-
getDefaultContextObjects
-
setDefaultContextObjects
-
getScannedResourceClasses
-
setScannedResourceClasses
-
getScannedProviderClasses
-
setScannedProviderClasses
-
getScannedJndiComponentResources
-
setScannedJndiComponentResources
-
getScannedResourceClassesWithBuilder
-
setScannedResourceClassesWithBuilder
-
isWiderRequestMatching
boolean isWiderRequestMatching() -
setWiderRequestMatching
void setWiderRequestMatching(boolean widerRequestMatching) -
isAddCharset
boolean isAddCharset() -
setAddCharset
void setAddCharset(boolean addCharset) -
getInjectorFactory
InjectorFactory getInjectorFactory() -
setInjectorFactory
-
getProperty
-
setProperty
-
setStatisticsEnabled
void setStatisticsEnabled(boolean statisticsEnabled)
-