Package org.apache.juneau.rest.server
Class MixinAnnotation.Builder
java.lang.Object
org.apache.juneau.commons.AnnotationObject.Builder
org.apache.juneau.rest.server.MixinAnnotation.Builder
- Enclosing class:
- MixinAnnotation
Builder class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Instantiates a new@Mixinobject initialized with this builder.Sets theMixin.consumes()property on this annotation.converters(Class<? extends RestConverter>... value) Sets theMixin.converters()property on this annotation.defaultAccept(String value) Sets theMixin.defaultAccept()property on this annotation.defaultCharset(String value) Sets theMixin.defaultCharset()property on this annotation.defaultContentType(String value) Sets theMixin.defaultContentType()property on this annotation.defaultRequestAttributes(String... value) Sets theMixin.defaultRequestAttributes()property on this annotation.defaultRequestHeaders(String... value) Sets theMixin.defaultRequestHeaders()property on this annotation.defaultResponseHeaders(String... value) Sets theMixin.defaultResponseHeaders()property on this annotation.Sets theMixin.encoders()property on this annotation.Sets theMixin.guards()property on this annotation.Sets theMixin.maxInput()property on this annotation.mergeIntoHost(boolean value) Sets theMixin.mergeIntoHost()property on this annotation.Sets theMixin.messages()property on this annotation.Sets theMixin.noInherit()property on this annotation.Sets theMixin.parsers()property on this annotation.partParser(Class<? extends HttpPartParser> value) Sets theMixin.partParser()property on this annotation.partSerializer(Class<? extends HttpPartSerializer> value) Sets theMixin.partSerializer()property on this annotation.Sets theMixin.path()property on this annotation.Sets theMixin.paths()property on this annotation.Sets theMixin.produces()property on this annotation.responseProcessors(Class<? extends ResponseProcessor>... value) Sets theMixin.responseProcessors()property on this annotation.restOpArgs(Class<? extends RestOpArg>... value) Sets theMixin.restOpArgs()property on this annotation.Sets theMixin.roleGuard()property on this annotation.rolesDeclared(String value) Sets theMixin.rolesDeclared()property on this annotation.serializers(Class<? extends Serializer>... value) Sets theMixin.serializers()property on this annotation.Sets theMixin.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 theMixin.type()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
mergeIntoHost
Sets theMixin.mergeIntoHost()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
guards
Sets theMixin.guards()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
roleGuard
Sets theMixin.roleGuard()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
rolesDeclared
Sets theMixin.rolesDeclared()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
converters
Sets theMixin.converters()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
encoders
Sets theMixin.encoders()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
serializers
Sets theMixin.serializers()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
parsers
Sets theMixin.parsers()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
responseProcessors
Sets theMixin.responseProcessors()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
restOpArgs
Sets theMixin.restOpArgs()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
partSerializer
Sets theMixin.partSerializer()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
partParser
Sets theMixin.partParser()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
messages
Sets theMixin.messages()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
defaultRequestHeaders
Sets theMixin.defaultRequestHeaders()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
defaultResponseHeaders
Sets theMixin.defaultResponseHeaders()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
defaultRequestAttributes
Sets theMixin.defaultRequestAttributes()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
produces
Sets theMixin.produces()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
consumes
Sets theMixin.consumes()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
defaultAccept
Sets theMixin.defaultAccept()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
defaultContentType
Sets theMixin.defaultContentType()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
defaultCharset
Sets theMixin.defaultCharset()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
maxInput
Sets theMixin.maxInput()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
path
Sets theMixin.path()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
paths
Sets theMixin.paths()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
noInherit
Sets theMixin.noInherit()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
build
Instantiates a new@Mixinobject initialized with this builder.- Returns:
- A new
@Mixinobject.
-