public class ProjectGenerationStatPublisher extends Object
| Constructor and Description |
|---|
ProjectGenerationStatPublisher(ProjectRequestDocumentFactory documentFactory,
StatsProperties statsProperties,
RestTemplateBuilder restTemplateBuilder,
org.springframework.retry.support.RetryTemplate retryTemplate) |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.web.client.RestTemplate |
getRestTemplate() |
void |
handleEvent(ProjectRequestEvent event) |
protected void |
updateRequestUrl(URI requestUrl) |
public ProjectGenerationStatPublisher(ProjectRequestDocumentFactory documentFactory, StatsProperties statsProperties, RestTemplateBuilder restTemplateBuilder, org.springframework.retry.support.RetryTemplate retryTemplate)
@EventListener @Async public void handleEvent(ProjectRequestEvent event)
protected org.springframework.web.client.RestTemplate getRestTemplate()
protected void updateRequestUrl(URI requestUrl)
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.