@ -30,6 +30,7 @@ import org.springframework.boot.autoconfigure.AutoConfigureOrder;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration ;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration ;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass ;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass ;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean ;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean ;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty ;
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication ;
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication ;
import org.springframework.boot.autoconfigure.http.codec.CodecsAutoConfiguration ;
import org.springframework.boot.autoconfigure.http.codec.CodecsAutoConfiguration ;
import org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration ;
import org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration ;
@ -90,6 +91,7 @@ public class WebFluxAutoConfiguration {
@Bean
@Bean
@ConditionalOnMissingBean ( HiddenHttpMethodFilter . class )
@ConditionalOnMissingBean ( HiddenHttpMethodFilter . class )
@ConditionalOnProperty ( prefix = "spring.webflux.hiddenmethod.filter" , name = "enabled" , matchIfMissing = true )
public OrderedHiddenHttpMethodFilter hiddenHttpMethodFilter ( ) {
public OrderedHiddenHttpMethodFilter hiddenHttpMethodFilter ( ) {
return new OrderedHiddenHttpMethodFilter ( ) ;
return new OrderedHiddenHttpMethodFilter ( ) ;
}
}