Top Description Inners Methods
jakarta.faces.annotation

public @Interface HeaderMap

extends Annotation
Known Direct Implementers
jakarta.faces.annotation.HeaderMap.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#getRequestHeaderMap to be injected as the value of that field.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
HeaderMap.Literal

Supports inline instantiation of the HeaderMap qualifier.

Method Summary

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

public final Class HeaderMap.Literal

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

Supports inline instantiation of the HeaderMap qualifier.

Since
4.0

Field Summary

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

Instance of the HeaderMap 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 HeaderMap.Literal INSTANCE

Instance of the HeaderMap qualifier.

serialVersionUIDback to summary
private static final long serialVersionUID

Hides jakarta.enterprise.util.AnnotationLiteral.serialVersionUID.

Constructor Detail

Literalback to summary
public Literal()