Constructor and Description |
---|
SentinelProtectInterceptor(SentinelRestTemplate sentinelRestTemplate,
org.springframework.web.client.RestTemplate restTemplate) |
Modifier and Type | Method and Description |
---|---|
org.springframework.http.client.ClientHttpResponse |
intercept(org.springframework.http.HttpRequest request,
byte[] body,
org.springframework.http.client.ClientHttpRequestExecution execution) |
public SentinelProtectInterceptor(SentinelRestTemplate sentinelRestTemplate, org.springframework.web.client.RestTemplate restTemplate)
public org.springframework.http.client.ClientHttpResponse intercept(org.springframework.http.HttpRequest request, byte[] body, org.springframework.http.client.ClientHttpRequestExecution execution) throws IOException
intercept
in interface org.springframework.http.client.ClientHttpRequestInterceptor
IOException
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.