Package de.trustable.ca3s.core.config
Class StaticResourcesWebConfiguration
- java.lang.Object
-
- de.trustable.ca3s.core.config.StaticResourcesWebConfiguration
-
- All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Configuration @Profile("prod") public class StaticResourcesWebConfiguration extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
-
Field Summary
Fields Modifier and Type Field Description protected static String[]RESOURCE_LOCATIONSprotected static String[]RESOURCE_PATHS
-
Constructor Summary
Constructors Constructor Description StaticResourcesWebConfiguration(tech.jhipster.config.JHipsterProperties jHipsterProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)protected org.springframework.web.servlet.config.annotation.ResourceHandlerRegistrationappendResourceHandler(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)protected org.springframework.http.CacheControlgetCacheControl()protected voidinitializeResourceHandler(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistration resourceHandlerRegistration)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
-
-
-
Method Detail
-
addResourceHandlers
public void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
- Specified by:
addResourceHandlersin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
appendResourceHandler
protected org.springframework.web.servlet.config.annotation.ResourceHandlerRegistration appendResourceHandler(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
-
initializeResourceHandler
protected void initializeResourceHandler(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistration resourceHandlerRegistration)
-
getCacheControl
protected org.springframework.http.CacheControl getCacheControl()
-
-