2020-12-04 14:02:06 +03:00
### YamlMime:JavaType
uid : "com.azure.core.http.rest.ResponseBase"
fullName : "com.azure.core.http.rest.ResponseBase<H,T>"
name : "ResponseBase<H,T>"
nameWithType : "ResponseBase<H,T>"
summary : "The response of a REST request."
inheritances :
2022-08-11 07:43:16 +03:00
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
2022-09-27 07:22:51 +03:00
inheritedClassMethods :
- classRef : "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef :
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
2022-11-01 07:30:49 +03:00
syntax : "public class **ResponseBase<H,T>**</br> implements <xref href=\"com.azure.core.http.rest.Response?alt=com.azure.core.http.rest.Response&text=Response\" data-throw-if-not-resolved=\"False\" /><<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />>"
2020-12-04 14:02:06 +03:00
constructors :
2022-08-22 08:55:24 +03:00
- uid : "com.azure.core.http.rest.ResponseBase.ResponseBase(com.azure.core.http.HttpRequest,int,com.azure.core.http.HttpHeaders,T,H)"
fullName : "com.azure.core.http.rest.ResponseBase<H,T>.ResponseBase(HttpRequest request, int statusCode, HttpHeaders headers, T value, H deserializedHeaders)"
name : "ResponseBase(HttpRequest request, int statusCode, HttpHeaders headers, T value, H deserializedHeaders)"
nameWithType : "ResponseBase<H,T>.ResponseBase(HttpRequest request, int statusCode, HttpHeaders headers, T value, H deserializedHeaders)"
summary : "Creates a <xref uid=\"com.azure.core.http.rest.ResponseBase\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ResponseBase\"></xref>."
parameters :
- description : "The HTTP request which resulted in this response."
name : "request"
type : "<xref href=\"com.azure.core.http.HttpRequest?alt=com.azure.core.http.HttpRequest&text=HttpRequest\" data-throw-if-not-resolved=\"False\" />"
- description : "The status code of the HTTP response."
name : "statusCode"
type : "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- description : "The headers of the HTTP response."
name : "headers"
type : "<xref href=\"com.azure.core.http.HttpHeaders?alt=com.azure.core.http.HttpHeaders&text=HttpHeaders\" data-throw-if-not-resolved=\"False\" />"
- description : "The deserialized value of the HTTP response."
name : "value"
type : "<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />"
- description : "The deserialized headers of the HTTP response."
name : "deserializedHeaders"
type : "<xref href=\"H?alt=H&text=H\" data-throw-if-not-resolved=\"False\" />"
syntax : "public ResponseBase(HttpRequest request, int statusCode, HttpHeaders headers, T value, H deserializedHeaders)"
desc : "Creates a <xref uid=\"com.azure.core.http.rest.ResponseBase\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ResponseBase\"></xref>."
2020-12-04 14:02:06 +03:00
methods :
2022-08-22 08:55:24 +03:00
- uid : "com.azure.core.http.rest.ResponseBase.getDeserializedHeaders()"
fullName : "com.azure.core.http.rest.ResponseBase<H,T>.getDeserializedHeaders()"
name : "getDeserializedHeaders()"
nameWithType : "ResponseBase<H,T>.getDeserializedHeaders()"
summary : "Get the headers from the HTTP response, transformed into the header type, `H`."
syntax : "public H getDeserializedHeaders()"
desc : "Get the headers from the HTTP response, transformed into the header type, `H`."
returns :
description : "An instance of header type <code>H</code>, deserialized from the HTTP response headers."
type : "<xref href=\"H?alt=H&text=H\" data-throw-if-not-resolved=\"False\" />"
- uid : "com.azure.core.http.rest.ResponseBase.getHeaders()"
fullName : "com.azure.core.http.rest.ResponseBase<H,T>.getHeaders()"
name : "getHeaders()"
nameWithType : "ResponseBase<H,T>.getHeaders()"
summary : "Gets the headers from the HTTP response."
syntax : "public HttpHeaders getHeaders()"
desc : "Gets the headers from the HTTP response."
returns :
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.ResponseBase.getRequest()"
fullName : "com.azure.core.http.rest.ResponseBase<H,T>.getRequest()"
name : "getRequest()"
nameWithType : "ResponseBase<H,T>.getRequest()"
summary : "Gets The request which resulted in this <xref uid=\"com.azure.core.http.rest.ResponseBase\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ResponseBase\"></xref>."
syntax : "public HttpRequest getRequest()"
desc : "Gets The request which resulted in this <xref uid=\"com.azure.core.http.rest.ResponseBase\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ResponseBase\"></xref>."
returns :
description : "The request which resulted in this <xref uid=\"com.azure.core.http.rest.ResponseBase\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ResponseBase\"></xref>."
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.ResponseBase.getStatusCode()"
fullName : "com.azure.core.http.rest.ResponseBase<H,T>.getStatusCode()"
name : "getStatusCode()"
nameWithType : "ResponseBase<H,T>.getStatusCode()"
summary : "Gets the HTTP response status code."
syntax : "public int getStatusCode()"
desc : "Gets the HTTP response status code."
returns :
type : "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid : "com.azure.core.http.rest.ResponseBase.getValue()"
fullName : "com.azure.core.http.rest.ResponseBase<H,T>.getValue()"
name : "getValue()"
nameWithType : "ResponseBase<H,T>.getValue()"
summary : "Gets the deserialized value of the HTTP response."
syntax : "public T getValue()"
desc : "Gets the deserialized value of the HTTP response."
returns :
type : "<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />"
2020-12-04 14:02:06 +03:00
type : "class"
typeParameters :
2022-08-11 07:43:16 +03:00
- description : "The deserialized type of the response headers."
name : "H"
- description : "The deserialized type of the response value, available from <xref uid=\"Response#getValue()\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Response#getValue()\"></xref>."
name : "T"
desc : "The response of a REST request."
2020-12-04 14:02:06 +03:00
implements :
- "<xref href=\"com.azure.core.http.rest.Response?alt=com.azure.core.http.rest.Response&text=Response\" data-throw-if-not-resolved=\"False\" /><<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />>"
metadata : {}
package : "com.azure.core.http.rest"
2024-09-13 07:59:32 +03:00
artifact : com.azure:azure-core:1.52.0