azure-docs-sdk-java/docs-ref-autogen/com.azure.core.http.rest.Re...

65 строки
2.8 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.core.http.rest.Response"
fullName: "com.azure.core.http.rest.Response<T>"
name: "Response<T>"
nameWithType: "Response<T>"
summary: "REST response with a strongly-typed content specified."
syntax: "public interface **Response<T>**"
methods:
- uid: "com.azure.core.http.rest.Response.getHeaders()"
fullName: "com.azure.core.http.rest.Response<T>.getHeaders()"
name: "getHeaders()"
nameWithType: "Response<T>.getHeaders()"
summary: "Gets the headers from the HTTP response."
modifiers:
- "abstract"
syntax: "public abstract HttpHeaders getHeaders()"
desc: "Gets the headers from the HTTP response."
returns:
description: "The HTTP response headers."
type: "<xref href=\"com.azure.core.http.HttpHeaders?alt=com.azure.core.http.HttpHeaders&text=HttpHeaders\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.core.http.rest.Response.getRequest()"
fullName: "com.azure.core.http.rest.Response<T>.getRequest()"
name: "getRequest()"
nameWithType: "Response<T>.getRequest()"
summary: "Gets the HTTP request which resulted in this response."
modifiers:
- "abstract"
syntax: "public abstract HttpRequest getRequest()"
desc: "Gets the HTTP request which resulted in this response."
returns:
description: "The HTTP request."
type: "<xref href=\"com.azure.core.http.HttpRequest?alt=com.azure.core.http.HttpRequest&text=HttpRequest\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.core.http.rest.Response.getStatusCode()"
fullName: "com.azure.core.http.rest.Response<T>.getStatusCode()"
name: "getStatusCode()"
nameWithType: "Response<T>.getStatusCode()"
summary: "Gets the HTTP response status code."
modifiers:
- "abstract"
syntax: "public abstract int getStatusCode()"
desc: "Gets the HTTP response status code."
returns:
description: "The status code of the HTTP response."
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.core.http.rest.Response.getValue()"
fullName: "com.azure.core.http.rest.Response<T>.getValue()"
name: "getValue()"
nameWithType: "Response<T>.getValue()"
summary: "Gets the deserialized value of the HTTP response."
modifiers:
- "abstract"
syntax: "public abstract T getValue()"
desc: "Gets the deserialized value of the HTTP response."
returns:
description: "The deserialized value of the HTTP response."
type: "<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />"
type: "interface"
typeParameters:
- description: "The deserialized type of the response content, available from <xref uid=\"#getValue()\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#getValue()\"></xref>."
name: "T"
desc: "REST response with a strongly-typed content specified."
metadata: {}
package: "com.azure.core.http.rest"
artifact: com.azure:azure-core:1.52.0