build

open fun build(): RestTemplate

Build a new RestTemplate instance and configure it using this builder.

Return

a configured RestTemplate instance.

See also


open fun <T : RestTemplate?> build(restTemplateClass: Class<T>): T

Build a new RestTemplate instance of the specified type and configure it using this builder.

Return

a configured RestTemplate instance.

Parameters

<T>

the type of rest template

restTemplateClass

the template type to create

See also