Constructor and Description |
---|
SentinelProtectInterceptor(SentinelRestTemplate sentinelRestTemplate) |
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)
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.