Uses of Interface
org.springframework.web.util.UriBuilder
Packages that use UriBuilder
Package
Description
Mock objects for the functional web framework.
Support for testing Spring WebFlux server endpoints via
WebTestClient.Support for testing Spring MVC applications via
RestTestClient with
MockMvc for server request handling.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.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
Methods in org.springframework.mock.web.reactive.function.server that return UriBuilder -
Uses of UriBuilder in org.springframework.test.web.reactive.server
Method parameters in org.springframework.test.web.reactive.server with type arguments of type UriBuilderModifier and TypeMethodDescriptionWebTestClient.UriSpec.uri(Function<UriBuilder, URI> uriFunction) Build the URI for the request with aUriBuilderobtained through theUriBuilderFactoryconfigured for this client. -
Uses of UriBuilder in org.springframework.test.web.servlet.client
Method parameters in org.springframework.test.web.servlet.client with type arguments of type UriBuilderModifier and TypeMethodDescriptionRestTestClient.UriSpec.uri(Function<UriBuilder, URI> uriFunction) Build the URI for the request with aUriBuilderobtained through theUriBuilderFactoryconfigured for this client. -
Uses of UriBuilder in org.springframework.web.client
Method parameters in org.springframework.web.client with type arguments of type UriBuilderModifier and TypeMethodDescriptionRestClient.UriSpec.uri(String uri, Function<UriBuilder, URI> uriFunction) Specify the URI starting with a URI template and finishing off with aUriBuildercreated from the template.RestClient.UriSpec.uri(Function<UriBuilder, URI> uriFunction) Specify the URI by through aUriBuilder. -
Uses of UriBuilder in org.springframework.web.reactive.function.client
Method parameters in org.springframework.web.reactive.function.client with type arguments of type UriBuilderModifier and TypeMethodDescriptionWebClient.UriSpec.uri(String uri, Function<UriBuilder, URI> uriFunction) Specify the URI starting with a URI template and finishing off with aUriBuildercreated 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
Methods in org.springframework.web.reactive.function.server that return UriBuilderModifier and TypeMethodDescriptionServerRequest.uriBuilder()Get aUriBuilderComponentsfrom the URI associated with thisServerRequest. -
Uses of UriBuilder in org.springframework.web.reactive.function.server.support
Methods in org.springframework.web.reactive.function.server.support that return UriBuilder -
Uses of UriBuilder in org.springframework.web.servlet.function
Methods in org.springframework.web.servlet.function that return UriBuilderModifier and TypeMethodDescriptionServerRequest.uriBuilder()Get aUriBuilderComponentsfrom the URI associated with thisServerRequest. -
Uses of UriBuilder in org.springframework.web.servlet.support
Classes in org.springframework.web.servlet.support that implement UriBuilderModifier and TypeClassDescriptionclassUriComponentsBuilder with additional static factory methods to create links based on the current HttpServletRequest. -
Uses of UriBuilder in org.springframework.web.util
Classes in org.springframework.web.util that implement UriBuilderMethods in org.springframework.web.util that return UriBuilderModifier 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 benullto 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, and append them to the query string.UriBuilder.queryParam(String name, Object... values) Append the given query parameter.UriBuilder.queryParam(String name, @Nullable Collection<?> values) Variant ofUriBuilder.queryParam(String, Object...)with a Collection.UriBuilder.queryParamIfPresent(String name, Optional<?> value) Delegates to eitherUriBuilder.queryParam(String, Object...)orUriBuilder.queryParam(String, Collection)if the givenOptionalhas 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(@Nullable String path) Override the current path.UriBuilder.replaceQuery(@Nullable String query) Clear existing query parameters and then delegate toUriBuilder.query(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, @Nullable Collection<?> values) Variant ofUriBuilder.replaceQueryParam(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 benullto 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 benullto clear the user info of this builder.