azure-docs-sdk-java/docs-ref-autogen/com.azure.core.annotation.H...

28 строки
1.8 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.core.annotation.Headers"
fullName: "com.azure.core.annotation.Headers"
name: "Headers"
nameWithType: "Headers"
summary: "Annotation to annotate list of static headers sent to a REST endpoint."
syntax: "public interface **Headers**</br> implements <a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Annotation.html\">Annotation</a>"
methods:
- uid: "com.azure.core.annotation.Headers.value()"
fullName: "com.azure.core.annotation.Headers.value()"
name: "value()"
nameWithType: "Headers.value()"
summary: "List of static headers."
modifiers:
- "abstract"
syntax: "public abstract String[] value()"
desc: "List of static headers."
returns:
description: "List of static headers."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>[]"
type: "interface"
desc: "Annotation to annotate list of static headers sent to a REST endpoint.\n\nHeaders are comma separated strings, with each in the format of \"header name: header value1,header value2\".\n\n**Examples:**\n\n```java\n@Headers({\"Content-Type: application/json; charset=utf-8\", \"accept-language: en-US\"})\n @Post(\"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/\"\n + \"hubs/{hubName}/images/getEntityTypeImageUploadUrl\")\n void getUploadUrlForEntityType(@PathParam(\"resourceGroupName\") String resourceGroupName,\n @PathParam(\"hubName\") String hubName,\n @PathParam(\"subscriptionId\") String subscriptionId,\n @BodyParam(\"application/json\") RequestBody parameters);\n```"
implements:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Annotation.html\">Annotation</a>"
metadata: {}
package: "com.azure.core.annotation"
artifact: com.azure:azure-core:1.54.0