类的使用
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.ControllerSpec
WebTestClient.ControllerSpec. pathMatching(Consumer<PathMatchConfigurer> consumer)
Configure path matching options.org.springframework.web.reactive.config中PathMatchConfigurer的使用
返回PathMatchConfigurer的org.springframework.web.reactive.config中的方法 修饰符和类型 方法 说明 PathMatchConfigurer
PathMatchConfigurer. addPathPrefix(String prefix, Predicate<Class<?>> predicate)
Configure a path prefix to apply to matching controller methods.protected PathMatchConfigurer
WebFluxConfigurationSupport. getPathMatchConfigurer()
Callback for building thePathMatchConfigurer
.PathMatchConfigurer
PathMatchConfigurer. setUseCaseSensitiveMatch(Boolean caseSensitiveMatch)
Whether to match to URLs irrespective of their case.PathMatchConfigurer
PathMatchConfigurer. setUseTrailingSlashMatch(Boolean trailingSlashMatch)
Whether to match to URLs irrespective of the presence of a trailing slash.参数类型为PathMatchConfigurer的org.springframework.web.reactive.config中的方法 修饰符和类型 方法 说明 void
DelegatingWebFluxConfiguration. configurePathMatching(PathMatchConfigurer configurer)
void
WebFluxConfigurationSupport. configurePathMatching(PathMatchConfigurer configurer)
Override to configure path matching options.default void
WebFluxConfigurer. configurePathMatching(PathMatchConfigurer configurer)
Configure path matching options.void
WebFluxConfigurerComposite. configurePathMatching(PathMatchConfigurer configurer)