接口的使用
org.springframework.web.util.UriTemplateHandler
使用UriTemplateHandler的程序包 程序包 说明 org.springframework.web.client Core package of the client-side web support.org.springframework.web.util Miscellaneous web utility classes, such as HTML escaping, Log4j initialization, and cookie handling.org.springframework.web.client中UriTemplateHandler的使用
返回UriTemplateHandler的org.springframework.web.client中的方法 修饰符和类型 方法 说明 UriTemplateHandler
AsyncRestTemplate. getUriTemplateHandler()
已过时。Return the configured URI template handler.UriTemplateHandler
RestTemplate. getUriTemplateHandler()
Return the configured URI template handler.参数类型为UriTemplateHandler的org.springframework.web.client中的方法 修饰符和类型 方法 说明 void
AsyncRestTemplate. setUriTemplateHandler(UriTemplateHandler handler)
已过时。This property has the same purpose as the corresponding property on theRestTemplate
.void
RestTemplate. setUriTemplateHandler(UriTemplateHandler handler)
Configure a strategy for expanding URI templates.org.springframework.web.util中UriTemplateHandler的使用
org.springframework.web.util中UriTemplateHandler的子接口 修饰符和类型 接口 说明 interface
UriBuilderFactory
Factory to createUriBuilder
instances with shared configuration such as a base URI, an encoding mode strategy, and others across all URI builder instances created through a factory.实现UriTemplateHandler的org.springframework.web.util中的类 修饰符和类型 类 说明 class
AbstractUriTemplateHandler
已过时。as of 5.0 in favor ofDefaultUriBuilderFactory
class
DefaultUriBuilderFactory
UriBuilderFactory
that relies onUriComponentsBuilder
for the actual building of the URI.class
DefaultUriTemplateHandler
已过时。as of 5.0 in favor ofDefaultUriBuilderFactory
.