Uses of Interface
org.springframework.web.client.ApiVersionInserter
Packages that use ApiVersionInserter
Package
Description
Support for testing Spring WebFlux server endpoints via
WebTestClient
.Contains built-in
RequestBuilder
implementations.Contains built-in
MockMvcBuilder
implementations.Core package of the client-side web support.
Provides a reactive
WebClient
that builds on top of the
org.springframework.http.client.reactive
reactive HTTP adapter layer.-
Uses of ApiVersionInserter in org.springframework.test.web.reactive.server
Methods in org.springframework.test.web.reactive.server with parameters of type ApiVersionInserterModifier and TypeMethodDescriptionWebTestClient.Builder.apiVersionInserter
(ApiVersionInserter apiVersionInserter) Configure anApiVersionInserter
to abstract how an API version specified viaWebTestClient.RequestHeadersSpec.apiVersion(Object)
is inserted into the request. -
Uses of ApiVersionInserter in org.springframework.test.web.servlet.request
Methods in org.springframework.test.web.servlet.request with parameters of type ApiVersionInserterModifier and TypeMethodDescriptionAbstractMockHttpServletRequestBuilder.apiVersionInserter
(ApiVersionInserter versionInserter) Configure anApiVersionInserter
to abstract how an API version specified viaAbstractMockHttpServletRequestBuilder.apiVersion(Object)
is inserted into the request. -
Uses of ApiVersionInserter in org.springframework.test.web.servlet.setup
Methods in org.springframework.test.web.servlet.setup with parameters of type ApiVersionInserterModifier and TypeMethodDescription<T extends B>
TAbstractMockMvcBuilder.apiVersionInserter
(ApiVersionInserter versionInserter) <T extends B>
TConfigurableMockMvcBuilder.apiVersionInserter
(ApiVersionInserter versionInserter) Set theApiVersionInserter
to use to apply to versions specified viaAbstractMockHttpServletRequestBuilder.apiVersion(Object)
. -
Uses of ApiVersionInserter in org.springframework.web.client
Methods in org.springframework.web.client that return ApiVersionInserterModifier and TypeMethodDescriptionApiVersionInserter.Builder.build()
Build theApiVersionInserter
instance.static ApiVersionInserter
Create an inserter that sets a header.static ApiVersionInserter
ApiVersionInserter.usePathSegment
(@Nullable Integer pathSegmentIndex) Create an inserter that inserts a path segment.static ApiVersionInserter
ApiVersionInserter.useQueryParam
(@Nullable String queryParam) Create an inserter that sets a query parameter.Methods in org.springframework.web.client with parameters of type ApiVersionInserterModifier and TypeMethodDescriptionRestClient.Builder.apiVersionInserter
(ApiVersionInserter apiVersionInserter) Configure anApiVersionInserter
to abstract how an API version specified viaRestClient.RequestHeadersSpec.apiVersion(Object)
is inserted into the request. -
Uses of ApiVersionInserter in org.springframework.web.reactive.function.client
Methods in org.springframework.web.reactive.function.client with parameters of type ApiVersionInserterModifier and TypeMethodDescriptionWebClient.Builder.apiVersionInserter
(ApiVersionInserter apiVersionInserter) Configure anApiVersionInserter
to abstract how an API version specified viaWebClient.RequestHeadersSpec.apiVersion(Object)
is inserted into the request.