Uses of Interface
org.springframework.web.util.UriBuilder
Package
Description
Mock objects for the functional web framework.
Support for testing Spring WebFlux server endpoints via
WebTestClient
.Provides a reactive
WebClient
that builds on top of the
org.springframework.http.client.reactive
reactive HTTP adapter layer.Provides the types that make up Spring's functional web framework for Reactive environments.
Classes supporting the
org.springframework.web.reactive.function.server
package.Provides the types that make up Spring's functional web framework for Servlet environments.
Support classes for Spring's web MVC framework.
Miscellaneous web utility classes, such as HTML escaping and cookie handling.
-
Uses of UriBuilder in org.springframework.mock.web.reactive.function.server
-
Uses of UriBuilder in org.springframework.test.web.reactive.server
Modifier and TypeMethodDescriptionWebTestClient.UriSpec.uri
(Function<UriBuilder, URI> uriFunction) Build the URI for the request with aUriBuilder
obtained through theUriBuilderFactory
configured for this client. -
Uses of UriBuilder in org.springframework.web.reactive.function.client
Modifier and TypeMethodDescriptionWebClient.UriSpec.uri
(String uri, Function<UriBuilder, URI> uriFunction) Specify the URI starting with a URI template and finishing off with aUriBuilder
created from the template.WebClient.UriSpec.uri
(Function<UriBuilder, URI> uriFunction) Specify the URI by through aUriBuilder
. -
Uses of UriBuilder in org.springframework.web.reactive.function.server
Modifier and TypeMethodDescriptionServerRequest.uriBuilder()
Get aUriBuilderComponents
from the URI associated with thisServerRequest
. -
Uses of UriBuilder in org.springframework.web.reactive.function.server.support
-
Uses of UriBuilder in org.springframework.web.servlet.function
Modifier and TypeMethodDescriptionServerRequest.uriBuilder()
Get aUriBuilderComponents
from the URI associated with thisServerRequest
. -
Uses of UriBuilder in org.springframework.web.servlet.support
Modifier and TypeClassDescriptionclass
UriComponentsBuilder with additional static factory methods to create links based on the current HttpServletRequest. -
Uses of UriBuilder in org.springframework.web.util
Modifier and TypeMethodDescriptionDefaultUriBuilderFactory.builder()
UriBuilderFactory.builder()
Create a URI builder with default settings.Set the URI fragment.Set the URI host which may contain URI template variables, and may also benull
to clear the host of this builder.Append to the path of this builder.UriBuilder.pathSegment
(String... pathSegments) Append to the path using path segments.UriBuilder.port
(int port) Set the URI port.Set the URI port.Parse the given query string into query parameters where parameters are separated with'&'
and their values, if any, with'='
.UriBuilder.queryParam
(String name, Object... values) Append the given query parameter.UriBuilder.queryParam
(String name, Collection<?> values) Variant ofqueryParam(String, Object...)
with a Collection.UriBuilder.queryParamIfPresent
(String name, Optional<?> value) Delegates to eitherqueryParam(String, Object...)
orqueryParam(String, Collection)
if the givenOptional
has a value, or else if it is empty, no query parameter is added at all.UriBuilder.queryParams
(MultiValueMap<String, String> params) Add multiple query parameters and values.UriBuilder.replacePath
(String path) Override the current path.UriBuilder.replaceQuery
(String query) Clear existing query parameters and then delegate toquery(String)
.UriBuilder.replaceQueryParam
(String name, Object... values) Set the query parameter values replacing existing values, or if no values are given, the query parameter is removed.UriBuilder.replaceQueryParam
(String name, Collection<?> values) Variant ofreplaceQueryParam(String, Object...)
with a Collection.UriBuilder.replaceQueryParams
(MultiValueMap<String, String> params) Set the query parameter values after removing all existing ones.Set the URI scheme which may contain URI template variables, and may also benull
to clear the scheme of this builder.Initialize a builder with the given URI template.Set the URI user info which may contain URI template variables, and may also benull
to clear the user info of this builder.