Package org.apache.juneau.rest.server
Class ChildAnnotation.Builder
java.lang.Object
org.apache.juneau.commons.AnnotationObject.Builder
org.apache.juneau.rest.server.ChildAnnotation.Builder
- Enclosing class:
- ChildAnnotation
Builder class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Instantiates a new@Childobject initialized with this builder.converters(Class<? extends RestConverter>... value) Sets theChild.converters()property on this annotation.defaultCharset(String value) Sets theChild.defaultCharset()property on this annotation.Sets theChild.guards()property on this annotation.Sets theChild.maxInput()property on this annotation.partParser(Class<? extends HttpPartParser> value) Sets theChild.partParser()property on this annotation.partSerializer(Class<? extends HttpPartSerializer> value) Sets theChild.partSerializer()property on this annotation.Sets theChild.roleGuard()property on this annotation.rolesDeclared(String value) Sets theChild.rolesDeclared()property on this annotation.Sets theChild.type()property on this annotation.Methods inherited from class org.apache.juneau.commons.AnnotationObject.Builder
getAnnotationType
-
Constructor Details
-
Builder
protected Builder()Constructor.
-
-
Method Details
-
type
Sets theChild.type()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
guards
Sets theChild.guards()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
converters
Sets theChild.converters()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
roleGuard
Sets theChild.roleGuard()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
rolesDeclared
Sets theChild.rolesDeclared()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
partSerializer
Sets theChild.partSerializer()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
partParser
Sets theChild.partParser()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
defaultCharset
Sets theChild.defaultCharset()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
maxInput
Sets theChild.maxInput()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
build
Instantiates a new@Childobject initialized with this builder.- Returns:
- A new
@Childobject.
-