Annotation Type HeaderMap



  • @Target({TYPE,METHOD,PARAMETER,FIELD})
    @Qualifier
    @Retention(RUNTIME)
    public @interface HeaderMap

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