Top Description Inners Methods
jakarta.faces.annotation

public @Interface HeaderValuesMap

extends Annotation
Known Direct Implementers
jakarta.faces.annotation.HeaderValuesMap.Literal
Annotations
@Target:TYPE, METHOD, PARAMETER, FIELD
@Qualifier
@Retention:RUNTIME
Static Imports
java.lang.annotation.ElementType.FIELD, .ElementType.METHOD, .ElementType.PARAMETER, .ElementType.TYPE, .RetentionPolicy.RUNTIME

The presence of this annotation (along with @Inject) on a field of type Map<String, String[]> causes the map returned from jakarta.faces.context.ExternalContext#getRequestHeaderValuesMap to be injected as the value of that field.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
HeaderValuesMap.Literal

Supports inline instantiation of the HeaderValuesMap qualifier.

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString
jakarta.faces.annotation back to summary

public final Class HeaderValuesMap.Literal

extends AnnotationLiteral<HeaderValuesMap>
implements HeaderValuesMap
Class Inheritance
All Implemented Interfaces
jakarta.faces.annotation.HeaderValuesMap, java.lang.annotation.Annotation

Supports inline instantiation of the HeaderValuesMap qualifier.

Since
4.0

Field Summary

Modifier and TypeField and Description
public static final HeaderValuesMap.Literal
INSTANCE

Instance of the HeaderValuesMap qualifier.

private static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from jakarta.enterprise.util.AnnotationLiteral:
annotationTypeequalshashCodetoString

Field Detail

INSTANCEback to summary
public static final HeaderValuesMap.Literal INSTANCE

Instance of the HeaderValuesMap qualifier.

serialVersionUIDback to summary
private static final long serialVersionUID

Hides jakarta.enterprise.util.AnnotationLiteral.serialVersionUID.

Constructor Detail

Literalback to summary
public Literal()