类的使用
org.springframework.web.reactive.config.PathMatchConfigurer
使用PathMatchConfigurer的程序包 程序包 说明 org.springframework.test.web.reactive.server Support for testing Spring WebFlux server endpoints viaWebTestClient.org.springframework.web.reactive.config Spring WebFlux configuration infrastructure.org.springframework.test.web.reactive.server中PathMatchConfigurer的使用
类型变量类型为PathMatchConfigurer的org.springframework.test.web.reactive.server中的方法参数 修饰符和类型 方法 说明 WebTestClient.ControllerSpecWebTestClient.ControllerSpec. pathMatching(Consumer<PathMatchConfigurer> consumer)Configure path matching options.org.springframework.web.reactive.config中PathMatchConfigurer的使用
返回PathMatchConfigurer的org.springframework.web.reactive.config中的方法 修饰符和类型 方法 说明 PathMatchConfigurerPathMatchConfigurer. addPathPrefix(String prefix, Predicate<Class<?>> predicate)Configure a path prefix to apply to matching controller methods.protected PathMatchConfigurerWebFluxConfigurationSupport. getPathMatchConfigurer()Callback for building thePathMatchConfigurer.PathMatchConfigurerPathMatchConfigurer. setUseCaseSensitiveMatch(Boolean caseSensitiveMatch)Whether to match to URLs irrespective of their case.PathMatchConfigurerPathMatchConfigurer. setUseTrailingSlashMatch(Boolean trailingSlashMatch)Whether to match to URLs irrespective of the presence of a trailing slash.参数类型为PathMatchConfigurer的org.springframework.web.reactive.config中的方法 修饰符和类型 方法 说明 voidDelegatingWebFluxConfiguration. configurePathMatching(PathMatchConfigurer configurer)voidWebFluxConfigurationSupport. configurePathMatching(PathMatchConfigurer configurer)Override to configure path matching options.default voidWebFluxConfigurer. configurePathMatching(PathMatchConfigurer configurer)Configure path matching options.voidWebFluxConfigurerComposite. configurePathMatching(PathMatchConfigurer configurer)