public class SentinelClientHttpResponse
extends org.springframework.http.client.AbstractClientHttpResponse
SentinelRestTemplate and SentinelProtectInterceptor.| 构造器和说明 |
|---|
SentinelClientHttpResponse() |
SentinelClientHttpResponse(String blockResponse) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
InputStream |
getBody() |
org.springframework.http.HttpHeaders |
getHeaders() |
int |
getRawStatusCode() |
String |
getStatusText() |
public SentinelClientHttpResponse()
public SentinelClientHttpResponse(String blockResponse)
public int getRawStatusCode()
throws IOException
IOExceptionpublic String getStatusText() throws IOException
IOExceptionpublic void close()
public InputStream getBody() throws IOException
IOExceptionpublic org.springframework.http.HttpHeaders getHeaders()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.