- java.lang.Object
-
- com.rabbitmq.http.client.ClientCreationContext
-
@Deprecated(since="4.0.0", forRemoval=true) public class ClientCreationContext extends Object
Deprecated, for removal: This API element is subject to removal in a future version.Some information that can be useful when configuring aClient
'sRestTemplate
.- Since:
- 3.6.0
- See Also:
RestTemplateConfigurator.configure(ClientCreationContext)
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ClientParameters
getClientParameters()
Deprecated, for removal: This API element is subject to removal in a future version.ClientParameters
used for thisClient
instance.org.springframework.web.client.RestTemplate
getRestTemplate()
Deprecated, for removal: This API element is subject to removal in a future version.TheRestTemplate
created by theClient
.URI
getRootUri()
Deprecated, for removal: This API element is subject to removal in a future version.The root URI of the management API.ClientCreationContext
restTemplate(org.springframework.web.client.RestTemplate restTemplate)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
getRestTemplate
public org.springframework.web.client.RestTemplate getRestTemplate()
Deprecated, for removal: This API element is subject to removal in a future version.TheRestTemplate
created by theClient
.RestTemplateConfigurator.configure(ClientCreationContext)
can create a new instance and return it, but it usually changes the passed-in instance.- Returns:
- the REST template
-
getClientParameters
public ClientParameters getClientParameters()
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- the client parameters used for the
Client
instance creation
-
getRootUri
public URI getRootUri()
Deprecated, for removal: This API element is subject to removal in a future version.The root URI of the management API.- Returns:
- the root URI
-
restTemplate
public ClientCreationContext restTemplate(org.springframework.web.client.RestTemplate restTemplate)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-