azure-docs-sdk-java/docs-ref-autogen/com.microsoft.azure.functio...

66 строки
3.8 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.functions.HttpResponseMessage"
fullName: "com.microsoft.azure.functions.HttpResponseMessage"
name: "HttpResponseMessage"
nameWithType: "HttpResponseMessage"
summary: "An Http<wbr>Response<wbr>Message instance is returned by Azure Functions methods that are triggered by an <xref uid=\"com.microsoft.azure.functions.annotation.HttpTrigger\" data-throw-if-not-resolved=\"false\" data-raw-source=\"com.microsoft.azure.functions.annotation.HttpTrigger\"></xref>."
syntax: "public interface **HttpResponseMessage**"
methods:
- uid: "com.microsoft.azure.functions.HttpResponseMessage.getBody()"
fullName: "com.microsoft.azure.functions.HttpResponseMessage.getBody()"
name: "getBody()"
nameWithType: "HttpResponseMessage.getBody()"
summary: "Returns the body of the HTTP response."
modifiers:
- "abstract"
syntax: "public abstract Object getBody()"
desc: "Returns the body of the HTTP response."
returns:
description: "the body of the HTTP response."
type: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.functions.HttpResponseMessage.getHeader(java.lang.String)"
fullName: "com.microsoft.azure.functions.HttpResponseMessage.getHeader(String key)"
name: "getHeader(String key)"
nameWithType: "HttpResponseMessage.getHeader(String key)"
summary: "Returns a header value for the given key."
modifiers:
- "abstract"
parameters:
- description: "The key for which the header value is sought."
name: "key"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract String getHeader(String key)"
desc: "Returns a header value for the given key."
returns:
description: "Returns the value if the key has previously been added, or null if it has not."
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.functions.HttpResponseMessage.getStatus()"
fullName: "com.microsoft.azure.functions.HttpResponseMessage.getStatus()"
name: "getStatus()"
nameWithType: "HttpResponseMessage.getStatus()"
summary: "Returns the HTTP status code set on the Http<wbr>Response<wbr>Message instance."
modifiers:
- "abstract"
syntax: "public abstract HttpStatusType getStatus()"
desc: "Returns the HTTP status code set on the HttpResponseMessage instance."
returns:
description: "the status code set on the HttpResponseMessage instance."
type: "<xref href=\"com.microsoft.azure.functions.HttpStatusType?alt=com.microsoft.azure.functions.HttpStatusType&text=HttpStatusType\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.functions.HttpResponseMessage.getStatusCode()"
fullName: "com.microsoft.azure.functions.HttpResponseMessage.getStatusCode()"
name: "getStatusCode()"
nameWithType: "HttpResponseMessage.getStatusCode()"
summary: "Returns the HTTP status code set on the Http<wbr>Response<wbr>Message instance."
modifiers:
- "default"
syntax: "public default int getStatusCode()"
desc: "Returns the HTTP status code set on the HttpResponseMessage instance."
returns:
description: "the status code set on the HttpResponseMessage instance."
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
type: "interface"
desc: "An HttpResponseMessage instance is returned by Azure Functions methods that are triggered by an <xref uid=\"com.microsoft.azure.functions.annotation.HttpTrigger\" data-throw-if-not-resolved=\"false\" data-raw-source=\"com.microsoft.azure.functions.annotation.HttpTrigger\"></xref>."
metadata: {}
package: "com.microsoft.azure.functions"
artifact: com.microsoft.azure.functions:azure-functions-java-library:1.3.1