org.springframework.web.servlet.resource.ResourceUrlEncodingFilter Java Examples

The following examples show how to use org.springframework.web.servlet.resource.ResourceUrlEncodingFilter. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: VelocityAutoConfiguration.java    From velocity-spring-boot-project with Apache License 2.0 4 votes vote down vote up
@Bean
@ConditionalOnMissingBean
@ConditionalOnEnabledResourceChain
public ResourceUrlEncodingFilter resourceUrlEncodingFilter() {
    return new ResourceUrlEncodingFilter();
}
 
Example #2
Source File: RegistryAppInitializer.java    From konker-platform with Apache License 2.0 4 votes vote down vote up
@Override
protected Filter[] getServletFilters() {
    return new Filter[]{new HiddenHttpMethodFilter(), new ResourceUrlEncodingFilter()};
}
 
Example #3
Source File: WebTransformsApplication.java    From building-microservices with Apache License 2.0 4 votes vote down vote up
@Bean
public ResourceUrlEncodingFilter filter() {
	return new ResourceUrlEncodingFilter();
}
 
Example #4
Source File: WebConfig.java    From spring-boot-practice with Apache License 2.0 4 votes vote down vote up
@Bean
public ResourceUrlEncodingFilter resourceUrlEncodingFilter() {
    return new ResourceUrlEncodingFilter();
}
 
Example #5
Source File: MvcApplication.java    From blog-examples with Apache License 2.0 4 votes vote down vote up
@Bean
public ResourceUrlEncodingFilter resourceUrlEncodingFilter() {
    return new ResourceUrlEncodingFilter();
}
 
Example #6
Source File: MvcConfig.java    From tutorials with MIT License 4 votes vote down vote up
@Bean
public ResourceUrlEncodingFilter resourceUrlEncodingFilter() {
    ResourceUrlEncodingFilter filter = new ResourceUrlEncodingFilter();

    return filter;
}