Class HeaderAnnotation
java.lang.Object
org.apache.juneau.http.annotation.HeaderAnnotation
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classApplies targetedHeaderannotations to aBeanContext.Builder.static @interfaceA collection of@Header annotations.static classBuilder class.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic HeaderAnnotation.Buildercreate()Instantiates a new builder for this class.static HeaderAnnotation.BuilderInstantiates a new builder for this class.static HeaderAnnotation.BuilderInstantiates a new builder for this class.static booleanReturnstrue if the specified annotation contains all default values.Finds the default value from the specified list of annotations.Finds the name from the specified lists of annotations.
- 
Field Details- 
DEFAULTDefault value
 
- 
- 
Constructor Details- 
HeaderAnnotationpublic HeaderAnnotation()
 
- 
- 
Method Details- 
createInstantiates a new builder for this class.- Returns:
- A new builder object.
 
- 
createInstantiates a new builder for this class.- Parameters:
- on- The targets this annotation applies to.
- Returns:
- A new builder object.
 
- 
createInstantiates a new builder for this class.- Parameters:
- on- The targets this annotation applies to.
- Returns:
- A new builder object.
 
- 
emptyReturnstrue if the specified annotation contains all default values.- Parameters:
- a- The annotation to check.
- Returns:
- true if the specified annotation contains all default values.
 
- 
findNameFinds the name from the specified lists of annotations.The last matching name found is returned. - Parameters:
- pi- The parameter.
- Returns:
- The last matching name, or Value.empty()if not found.
 
- 
findDefFinds the default value from the specified list of annotations.- Parameters:
- pi- The parameter.
- Returns:
- The last matching default value, or Value.empty()if not found.
 
 
-