public static class InterceptorContext.InterceptorContextResponse
extends com.aliyun.tea.TeaModel
| Modifier and Type | Field and Description |
|---|---|
InputStream |
body |
Object |
deserializedBody |
Map<String,String> |
headers |
Number |
statusCode |
| Constructor and Description |
|---|
InterceptorContextResponse() |
| Modifier and Type | Method and Description |
|---|---|
static InterceptorContext.InterceptorContextResponse |
build(Map<String,?> map) |
InputStream |
getBody() |
Object |
getDeserializedBody() |
Map<String,String> |
getHeaders() |
Number |
getStatusCode() |
InterceptorContext.InterceptorContextResponse |
setBody(InputStream body) |
InterceptorContext.InterceptorContextResponse |
setDeserializedBody(Object deserializedBody) |
InterceptorContext.InterceptorContextResponse |
setHeaders(Map<String,String> headers) |
InterceptorContext.InterceptorContextResponse |
setStatusCode(Number statusCode) |
@NameInMap(value="statusCode") public Number statusCode
@NameInMap(value="body") public InputStream body
@NameInMap(value="deserializedBody") public Object deserializedBody
public static InterceptorContext.InterceptorContextResponse build(Map<String,?> map)
public InterceptorContext.InterceptorContextResponse setStatusCode(Number statusCode)
public Number getStatusCode()
public InterceptorContext.InterceptorContextResponse setHeaders(Map<String,String> headers)
public InterceptorContext.InterceptorContextResponse setBody(InputStream body)
public InputStream getBody()
public InterceptorContext.InterceptorContextResponse setDeserializedBody(Object deserializedBody)
public Object getDeserializedBody()
Copyright © 2021. All rights reserved.