接口的使用
org.springframework.web.util.UriBuilder
使用UriBuilder的程序包 程序包 说明 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 viaWebTestClient.org.springframework.web.reactive.function.client Provides a reactiveWebClientthat builds on top of theorg.springframework.http.client.reactivereactive HTTP adapter layer.org.springframework.web.reactive.function.server Provides the types that make up Spring's functional web framework for Reactive environments.org.springframework.web.reactive.function.server.support Classes supporting theorg.springframework.web.reactive.function.serverpackage.org.springframework.web.servlet.function Provides the types that make up Spring's functional web framework for Servlet environments.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.org.springframework.mock.web.reactive.function.server中UriBuilder的使用
返回UriBuilder的org.springframework.mock.web.reactive.function.server中的方法 修饰符和类型 方法 说明 UriBuilderMockServerRequest. uriBuilder()org.springframework.test.web.reactive.server中UriBuilder的使用
类型变量类型为UriBuilder的org.springframework.test.web.reactive.server中的方法参数 修饰符和类型 方法 说明 SWebTestClient.UriSpec. uri(Function<UriBuilder,URI> uriFunction)Build the URI for the request with aUriBuilderobtained through theUriBuilderFactoryconfigured for this client.org.springframework.web.reactive.function.client中UriBuilder的使用
类型变量类型为UriBuilder的org.springframework.web.reactive.function.client中的方法参数 修饰符和类型 方法 说明 SWebClient.UriSpec. uri(String uri, Function<UriBuilder,URI> uriFunction)Specify the URI starting with a URI template and finishing off with aUriBuildercreated from the template.SWebClient.UriSpec. uri(Function<UriBuilder,URI> uriFunction)Specify the URI by through aUriBuilder.org.springframework.web.reactive.function.server中UriBuilder的使用
返回UriBuilder的org.springframework.web.reactive.function.server中的方法 修饰符和类型 方法 说明 UriBuilderServerRequest. uriBuilder()Get aUriBuilderComponentsfrom the URI associated with thisServerRequest.org.springframework.web.reactive.function.server.support中UriBuilder的使用
返回UriBuilder的org.springframework.web.reactive.function.server.support中的方法 修饰符和类型 方法 说明 UriBuilderServerRequestWrapper. uriBuilder()org.springframework.web.servlet.function中UriBuilder的使用
返回UriBuilder的org.springframework.web.servlet.function中的方法 修饰符和类型 方法 说明 UriBuilderServerRequest. uriBuilder()Get aUriBuilderComponentsfrom the URI associated with thisServerRequest.org.springframework.web.servlet.support中UriBuilder的使用
实现UriBuilder的org.springframework.web.servlet.support中的类 修饰符和类型 类 说明 classServletUriComponentsBuilderUriComponentsBuilder with additional static factory methods to create links based on the current HttpServletRequest.org.springframework.web.util中UriBuilder的使用
实现UriBuilder的org.springframework.web.util中的类 修饰符和类型 类 说明 classUriComponentsBuilderBuilder forUriComponents.返回UriBuilder的org.springframework.web.util中的方法 修饰符和类型 方法 说明 UriBuilderDefaultUriBuilderFactory. builder()UriBuilderUriBuilderFactory. builder()Create a URI builder with default settings.UriBuilderUriBuilder. fragment(String fragment)Set the URI fragment.UriBuilderUriBuilder. host(String host)Set the URI host which may contain URI template variables, and may also benullto clear the host of this builder.UriBuilderUriBuilder. path(String path)Append to the path of this builder.UriBuilderUriBuilder. pathSegment(String... pathSegments)Append to the path using path segments.UriBuilderUriBuilder. port(int port)Set the URI port.UriBuilderUriBuilder. port(String port)Set the URI port .UriBuilderUriBuilder. query(String query)Parse the given query string into query parameters where parameters are separated with'&'and their values, if any, with'='.UriBuilderUriBuilder. queryParam(String name, Object... values)Append the given query parameter.UriBuilderUriBuilder. queryParam(String name, Collection<?> values)Variant ofqueryParam(String, Object...)with a Collection.UriBuilderUriBuilder. queryParams(MultiValueMap<String,String> params)Add multiple query parameters and values.UriBuilderUriBuilder. replacePath(String path)Override the existing path.UriBuilderUriBuilder. replaceQuery(String query)Clear existing query parameters and then delegate toquery(String).UriBuilderUriBuilder. replaceQueryParam(String name, Object... values)Set the query parameter values replacing existing values, or if no values are given, the query parameter is removed.UriBuilderUriBuilder. replaceQueryParam(String name, Collection<?> values)Variant ofreplaceQueryParam(String, Object...)with a Collection.UriBuilderUriBuilder. replaceQueryParams(MultiValueMap<String,String> params)Set the query parameter values after removing all existing ones.UriBuilderUriBuilder. scheme(String scheme)Set the URI scheme which may contain URI template variables, and may also benullto clear the scheme of this builder.UriBuilderDefaultUriBuilderFactory. uriString(String uriTemplate)UriBuilderUriBuilderFactory. uriString(String uriTemplate)Initialize a builder with the given URI template.UriBuilderUriBuilder. userInfo(String userInfo)Set the URI user info which may contain URI template variables, and may also benullto clear the user info of this builder.