com.azure.core.annotation.HeaderCollection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-core Show documentation
Show all versions of azure-core Show documentation
This package contains core types for Azure Java clients.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.core.annotation;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* Annotation on a deserialized header type that indicates that the property should be treated as a header collection
* with the provided prefix.
*/
@Retention(RUNTIME)
@Target(FIELD)
public @interface HeaderCollection {
/**
* The header collection prefix.
*
* @return The header collection prefix
*/
String value();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy