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

18 строки
1.1 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.core.annotation.FormParam"
fullName: "com.azure.core.annotation.FormParam"
name: "FormParam"
nameWithType: "FormParam"
summary: "Annotation for form parameters to be sent to a REST API Request URI."
syntax: "public interface FormParam implements Annotation"
methods:
- "com.azure.core.annotation.FormParam.encoded()"
- "com.azure.core.annotation.FormParam.value()"
type: "interface"
desc: "Annotation for form parameters to be sent to a REST API Request URI.\n\n**Example:**\n\n```java\n@Post(\"spellcheck\")\n Mono<Response<ResponseBody>> spellChecker(@HeaderParam(\"X-BingApis-SDK\") String xBingApisSDK,\n @QueryParam(\"UserId\") String userId,\n @FormParam(\"Text\") String text);\n```\n\nThe value of parameter text will be encoded and encoded value will be added to the form data sent to the API."
implements:
- "<xref href=\"java.lang.annotation.Annotation?alt=java.lang.annotation.Annotation&text=Annotation\" data-throw-if-not-resolved=\"False\" />"
metadata: {}
package: "com.azure.core.annotation"
artifact: com.azure:azure-core:1.31.0