Package | Description |
---|---|
org.springframework.test.web.reactive.server |
Support for testing Spring WebFlux server endpoints via
WebTestClient . |
org.springframework.web.reactive.config |
Spring WebFlux configuration infrastructure.
|
Modifier and Type | Method and Description |
---|---|
WebTestClient.ControllerSpec |
WebTestClient.ControllerSpec.pathMatching(Consumer<PathMatchConfigurer> consumer)
Configure path matching options.
|
Modifier and Type | Method and Description |
---|---|
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 the
PathMatchConfigurer . |
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.
|
Modifier and Type | Method and Description |
---|---|
void |
WebFluxConfigurationSupport.configurePathMatching(PathMatchConfigurer configurer)
Override to configure path matching options.
|
default void |
WebFluxConfigurer.configurePathMatching(PathMatchConfigurer configurer)
Configure path matching options.
|
void |
DelegatingWebFluxConfiguration.configurePathMatching(PathMatchConfigurer configurer) |
void |
WebFluxConfigurerComposite.configurePathMatching(PathMatchConfigurer configurer) |