接口的使用
cn.taketoday.web.util.UriTemplateHandler
使用UriTemplateHandler的程序包
程序包
说明
Core package of the client-side web support.
Web client config.
Miscellaneous web utility classes, such as HTML escaping,
Log4j initialization, and cookie handling.
-
cn.taketoday.web.client中UriTemplateHandler的使用
修饰符和类型方法说明voidRestTemplate.setUriTemplateHandler(UriTemplateHandler handler) Configure a strategy for expanding URI templates. -
cn.taketoday.web.client.config中UriTemplateHandler的使用
修饰符和类型字段说明private final UriTemplateHandlerRootUriTemplateHandler.handlerprivate final UriTemplateHandlerRestTemplateBuilder.uriTemplateHandler修饰符和类型方法说明RestTemplateBuilder.uriTemplateHandler(UriTemplateHandler uriTemplateHandler) Set theUriTemplateHandlerthat should be used with theRestTemplate.类型变量类型为UriTemplateHandler的cn.taketoday.web.client.config中的方法参数修饰符和类型方法说明RootUriTemplateHandler.withHandlerWrapper(Function<UriTemplateHandler, UriTemplateHandler> wrapper) Derives a newRootUriTemplateHandlerfrom this one, wrapping its delegateUriTemplateHandlerby applying the givenwrapper.RootUriTemplateHandler.withHandlerWrapper(Function<UriTemplateHandler, UriTemplateHandler> wrapper) Derives a newRootUriTemplateHandlerfrom this one, wrapping its delegateUriTemplateHandlerby applying the givenwrapper.限定符构造器说明privateRestTemplateBuilder(ClientHttpRequestFactorySettings requestFactorySettings, boolean detectRequestFactory, String rootUri, Set<HttpMessageConverter<?>> messageConverters, Set<ClientHttpRequestInterceptor> interceptors, Function<ClientHttpRequestFactorySettings, ClientHttpRequestFactory> requestFactorySupplier, UriTemplateHandler uriTemplateHandler, ResponseErrorHandler errorHandler, BasicAuthentication basicAuthentication, Map<String, List<String>> defaultHeaders, Set<RestTemplateCustomizer> customizers, Set<RestTemplateRequestCustomizer<?>> requestCustomizers) protectedRootUriTemplateHandler(UriTemplateHandler handler) RootUriTemplateHandler(String rootUri, UriTemplateHandler handler) Create a newRootUriTemplateHandlerinstance. -
cn.taketoday.web.util中UriTemplateHandler的使用
修饰符和类型接口说明interfaceFactory to createUriBuilderinstances with shared configuration such as a base URI, an encoding mode strategy, and others across all URI builder instances created through a factory.修饰符和类型类说明classAbstract base class forUriTemplateHandlerimplementations.classUriBuilderFactorythat relies onUriComponentsBuilderfor the actual building of the URI.classDefault implementation ofUriTemplateHandlerbased on the use ofUriComponentsBuilderfor expanding and encoding variables.