Package | Description |
---|---|
org.springframework.mock.web.reactive.function.server |
Mock objects for the functional web framework.
|
org.springframework.test.web.reactive.server |
Support for testing Spring WebFlux server endpoints via
WebTestClient . |
org.springframework.web.reactive.function.client |
Provides a reactive
WebClient
that builds on top of the
org.springframework.http.client.reactive reactive HTTP adapter layer. |
org.springframework.web.reactive.function.server |
Provides the types that make up Spring's functional web framework.
|
org.springframework.web.reactive.function.server.support |
Classes supporting the
org.springframework.web.reactive.function.server package. |
org.springframework.web.servlet.support |
Support classes for Spring's web MVC framework.
|
org.springframework.web.util |
Miscellaneous web utility classes, such as HTML escaping,
Log4j initialization, and cookie handling.
|
Modifier and Type | Method and Description |
---|---|
UriBuilder |
MockServerRequest.uriBuilder() |
Modifier and Type | Method and Description |
---|---|
S |
WebTestClient.UriSpec.uri(java.util.function.Function<UriBuilder,java.net.URI> uriFunction)
Build the URI for the request with a
UriBuilder obtained
through the UriBuilderFactory configured for this client. |
Modifier and Type | Method and Description |
---|---|
S |
WebClient.UriSpec.uri(java.util.function.Function<UriBuilder,java.net.URI> uriFunction)
Build the URI for the request using the
UriBuilderFactory
configured for this client. |
Modifier and Type | Method and Description |
---|---|
UriBuilder |
ServerRequest.uriBuilder()
Get a
UriBuilderComponents from the URI associated with this
ServerRequest , while also overlaying with values from the headers
"Forwarded" (RFC 7239),
or "X-Forwarded-Host", "X-Forwarded-Port", and "X-Forwarded-Proto" if
"Forwarded" is not found. |
Modifier and Type | Method and Description |
---|---|
UriBuilder |
ServerRequestWrapper.uriBuilder() |
Modifier and Type | Class and Description |
---|---|
class |
ServletUriComponentsBuilder
UriComponentsBuilder with additional static factory methods to create links
based on the current HttpServletRequest.
|
Modifier and Type | Class and Description |
---|---|
class |
UriComponentsBuilder
Builder for
UriComponents . |
Modifier and Type | Method and Description |
---|---|
UriBuilder |
DefaultUriBuilderFactory.builder() |
UriBuilder |
UriBuilderFactory.builder()
Create a URI builder with default settings.
|
UriBuilder |
UriBuilder.fragment(java.lang.String fragment)
Set the URI fragment.
|
UriBuilder |
UriBuilder.host(java.lang.String host)
Set the URI host which may contain URI template variables, and may also
be
null to clear the host of this builder. |
UriBuilder |
UriBuilder.path(java.lang.String path)
Append the given path to the existing path of this builder.
|
UriBuilder |
UriBuilder.pathSegment(java.lang.String... pathSegments)
Append path segments to the existing path.
|
UriBuilder |
UriBuilder.port(int port)
Set the URI port.
|
UriBuilder |
UriBuilder.port(java.lang.String port)
Set the URI port .
|
UriBuilder |
UriBuilder.query(java.lang.String query)
Append the given query to the existing query of this builder.
|
UriBuilder |
UriBuilder.queryParam(java.lang.String name,
java.lang.Object... values)
Append the given query parameter to the existing query parameters.
|
UriBuilder |
UriBuilder.queryParams(MultiValueMap<java.lang.String,java.lang.String> params)
Add the given query parameters.
|
UriBuilder |
UriBuilder.replacePath(java.lang.String path)
Set the path of this builder overriding the existing path values.
|
UriBuilder |
UriBuilder.replaceQuery(java.lang.String query)
Set the query of this builder overriding all existing query parameters.
|
UriBuilder |
UriBuilder.replaceQueryParam(java.lang.String name,
java.lang.Object... values)
Set the query parameter values overriding all existing query values for
the same parameter.
|
UriBuilder |
UriBuilder.replaceQueryParams(MultiValueMap<java.lang.String,java.lang.String> params)
Set the query parameter values overriding all existing query values.
|
UriBuilder |
UriBuilder.scheme(java.lang.String scheme)
Set the URI scheme which may contain URI template variables,
and may also be
null to clear the scheme of this builder. |
UriBuilder |
DefaultUriBuilderFactory.uriString(java.lang.String uriTemplate) |
UriBuilder |
UriBuilderFactory.uriString(java.lang.String uriTemplate)
Initialize a builder with the given URI template.
|
UriBuilder |
UriBuilder.userInfo(java.lang.String userInfo)
Set the URI user info which may contain URI template variables, and
may also be
null to clear the user info of this builder. |