类的使用
cn.taketoday.web.util.UriComponents
使用UriComponents的程序包
程序包
说明
Miscellaneous web utility classes, such as HTML escaping,
Log4j initialization, and cookie handling.
-
cn.taketoday.web.util中UriComponents的使用
修饰符和类型类说明(专用程序包) final classExtension ofUriComponentsfor hierarchical URIs.(专用程序包) final classExtension ofUriComponentsfor opaque URIs.修饰符和类型方法说明UriComponentsBuilder.build()Build aUriComponentsinstance from the various components contained in this builder.UriComponentsBuilder.build(boolean encoded) Variant ofUriComponentsBuilder.build()to create aUriComponentsinstance when components are already fully encoded.UriComponentsBuilder.buildAndExpand(Object... uriVariableValues) Build aUriComponentsinstance and replaces URI template variables with the values from an array.UriComponentsBuilder.buildAndExpand(Map<String, ?> uriVariables) Build aUriComponentsinstance and replaces URI template variables with the values from a map.private UriComponentsUriComponentsBuilder.buildInternal(UriComponentsBuilder.EncodingHint hint) final UriComponentsUriComponents.encode()Invoke this after expanding URI variables to encode the resulting URI component values.abstract UriComponentsA variant ofencode()with a charset other than "UTF-8".final UriComponentsUriComponents.expand(UriComponents.UriTemplateVariables uriVariables) Replace all URI template variables with the values from the givenUriComponents.UriTemplateVariables.final UriComponentsReplace all URI template variables with the values from a given array.final UriComponentsReplace all URI template variables with the values from a given map.protected UriComponentsDefaultUriTemplateHandler.expandAndEncode(UriComponentsBuilder builder, Object[] uriVariables) protected UriComponentsDefaultUriTemplateHandler.expandAndEncode(UriComponentsBuilder builder, Map<String, ?> uriVariables) protected UriComponentsOpaqueUriComponents.expandInternal(UriComponents.UriTemplateVariables uriVariables) (专用程序包) abstract UriComponentsUriComponents.expandInternal(UriComponents.UriTemplateVariables uriVariables) Replace all URI template variables with the values from the givenUriComponents.UriTemplateVariables.HierarchicalUriComponents.normalize()OpaqueUriComponents.normalize()abstract UriComponentsUriComponents.normalize()Normalize the path removing sequences like "path/..".参数类型为UriComponents的cn.taketoday.web.util中的方法修饰符和类型方法说明private URIDefaultUriBuilderFactory.DefaultUriBuilder.createUri(UriComponents uric) private URIDefaultUriTemplateHandler.createUri(UriComponents uriComponents) UriComponentsBuilder.uriComponents(UriComponents uriComponents) Set or append individual URI components of this builder from the values of the givenUriComponentsinstance.