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

40 строки
2.6 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.functions.annotation.HttpOutput"
fullName: "com.microsoft.azure.functions.annotation.HttpOutput"
name: "HttpOutput"
nameWithType: "HttpOutput"
summary: "Place this on a parameter whose value would be send back to the user as an HTTP response."
syntax: "public interface **HttpOutput**</br> implements <xref href=\"java.lang.annotation.Annotation?alt=java.lang.annotation.Annotation&text=Annotation\" data-throw-if-not-resolved=\"False\" />"
methods:
- uid: "com.microsoft.azure.functions.annotation.HttpOutput.dataType()"
fullName: "com.microsoft.azure.functions.annotation.HttpOutput.dataType()"
name: "dataType()"
nameWithType: "HttpOutput.dataType()"
summary: "Defines how Functions runtime should treat the parameter value."
modifiers:
- "abstract"
syntax: "public abstract String dataType()"
desc: "Defines how Functions runtime should treat the parameter value. Possible values are:\n\n * \"\" or string: treat it as a string whose value is serialized from the parameter\n * binary: treat it as a binary data whose value comes from for example OutputBinding<byte\\[\\]>"
returns:
description: "The dataType which will be used by the Functions runtime."
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.functions.annotation.HttpOutput.name()"
fullName: "com.microsoft.azure.functions.annotation.HttpOutput.name()"
name: "name()"
nameWithType: "HttpOutput.name()"
summary: "The variable name used in function.<wbr>json."
modifiers:
- "abstract"
syntax: "public abstract String name()"
desc: "The variable name used in function.json."
returns:
description: "The variable name used in function.json."
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
type: "interface"
desc: "Place this on a parameter whose value would be send back to the user as an HTTP response. The parameter type should be OutputBinding<T>, where T could be one of:\n\n * <xref uid=\"com.microsoft.azure.functions.HttpResponseMessage\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpResponseMessage\"></xref>\n * Any native Java types such as int, String, byte\\[\\]\n * Any POJO type"
implements:
- "<xref href=\"java.lang.annotation.Annotation?alt=java.lang.annotation.Annotation&text=Annotation\" data-throw-if-not-resolved=\"False\" />"
metadata: {}
package: "com.microsoft.azure.functions.annotation"
artifact: com.microsoft.azure.functions:azure-functions-java-library:1.3.1