Class ContentAnnotation
java.lang.Object
org.apache.juneau.http.annotation.ContentAnnotation
Utility classes and methods for the
@Content annotation.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classApplies targetedContentannotations to aBeanContext.Builder.static @interfaceA collection of@Content annotations.static classBuilder class. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ContentAnnotation.Buildercreate()Instantiates a new builder for this class.static ContentAnnotation.BuilderInstantiates a new builder for this class.static ContentAnnotation.BuilderInstantiates a new builder for this class.static booleanReturnstrue if the specified annotation contains all default values.
-
Field Details
-
DEFAULT
Default value
-
-
Constructor Details
-
ContentAnnotation
public ContentAnnotation()
-
-
Method Details
-
create
Instantiates a new builder for this class.- Returns:
- A new builder object.
-
create
Instantiates a new builder for this class.- Parameters:
on- The targets this annotation applies to.- Returns:
- A new builder object.
-
create
Instantiates a new builder for this class.- Parameters:
on- The targets this annotation applies to.- Returns:
- A new builder object.
-
empty
Returnstrue if the specified annotation contains all default values.- Parameters:
a- The annotation to check.- Returns:
true if the specified annotation contains all default values.
-