Package org.apache.juneau.rest.server
Class RestPostAnnotation.Builder
java.lang.Object
org.apache.juneau.commons.AnnotationObject.Builder
org.apache.juneau.rest.server.RestPostAnnotation.Builder
- Enclosing class:
- RestPostAnnotation
Builder class.
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowedParserOptions(String... value) Sets theRestPost.allowedParserOptions()property on this annotation.allowedSerializerOptions(String... value) Sets theRestPost.allowedSerializerOptions()property on this annotation.asyncCompletionExecutor(String value) Sets theRestPost.asyncCompletionExecutor()property on this annotation.build()Instantiates a new@RestPostobject initialized with this builder.clientVersion(String value) Sets theRestPost.clientVersion()property on this annotation.Sets theRestPost.consumes()property on this annotation.converters(Class<? extends RestConverter>... value) Sets theRestPost.converters()property on this annotation.debugMarshalling(String value) Sets theRestPost.debugMarshalling()property on this annotation.defaultAccept(String value) Sets theRestPost.defaultAccept()property on this annotation.defaultCharset(String value) Sets theRestPost.defaultCharset()property on this annotation.defaultContentType(String value) Sets theRestPost.defaultContentType()property on this annotation.defaultRequestAttributes(String... value) Sets theRestPost.defaultRequestAttributes()property on this annotation.defaultRequestFormData(String... value) Sets theRestPost.defaultRequestFormData()property on this annotation.defaultRequestHeaders(String... value) Sets theRestPost.defaultRequestHeaders()property on this annotation.defaultRequestQueryData(String... value) Sets theRestPost.defaultRequestQueryData()property on this annotation.defaultResponseHeaders(String... value) Sets theRestPost.defaultResponseHeaders()property on this annotation.description(String... value) Sets the description property on this annotation.Sets theRestPost.encoders()property on this annotation.Sets theRestPost.guards()property on this annotation.matchers(Class<? extends RestMatcher>... value) Sets theRestPost.matchers()property on this annotation.Sets theRestPost.maxInput()property on this annotation.metricName(String value) Sets theRestPost.metricName()property on this annotation.metricTags(String value) Sets theRestPost.metricTags()property on this annotation.Sets theRestPost.noInherit()property on this annotation.observability(String value) Sets theRestPost.observability()property on this annotation.Sets theRestPost.parsers()property on this annotation.Sets theRestPost.path()property on this annotation.problemDetails(String value) Sets theRestPost.problemDetails()property on this annotation.Sets theRestPost.produces()property on this annotation.Sets theRestPost.roleGuard()property on this annotation.rolesDeclared(String value) Sets theRestPost.rolesDeclared()property on this annotation.serializers(Class<? extends Serializer>... value) Sets theRestPost.serializers()property on this annotation.Sets theRestPost.summary()property on this annotation.Sets theRestPost.swagger()property on this annotation.Sets theRestPost.value()property on this annotation.Methods inherited from class org.apache.juneau.commons.AnnotationObject.Builder
getAnnotationType
-
Constructor Details
-
Builder
protected Builder()Constructor.
-
-
Method Details
-
build
Instantiates a new@RestPostobject initialized with this builder.- Returns:
- A new
@RestPostobject.
-
description
Sets the description property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
clientVersion
Sets theRestPost.clientVersion()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
consumes
Sets theRestPost.consumes()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
converters
@SafeVarargs public final RestPostAnnotation.Builder converters(Class<? extends RestConverter>... value) Sets theRestPost.converters()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
defaultAccept
Sets theRestPost.defaultAccept()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
defaultCharset
Sets theRestPost.defaultCharset()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
defaultContentType
Sets theRestPost.defaultContentType()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
defaultRequestAttributes
Sets theRestPost.defaultRequestAttributes()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
defaultRequestFormData
Sets theRestPost.defaultRequestFormData()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
defaultRequestHeaders
Sets theRestPost.defaultRequestHeaders()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
defaultRequestQueryData
Sets theRestPost.defaultRequestQueryData()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
defaultResponseHeaders
Sets theRestPost.defaultResponseHeaders()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
encoders
Sets theRestPost.encoders()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
guards
Sets theRestPost.guards()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
matchers
@SafeVarargs public final RestPostAnnotation.Builder matchers(Class<? extends RestMatcher>... value) Sets theRestPost.matchers()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
maxInput
Sets theRestPost.maxInput()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
parsers
Sets theRestPost.parsers()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
path
Sets theRestPost.path()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
problemDetails
Sets theRestPost.problemDetails()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
debugMarshalling
Sets theRestPost.debugMarshalling()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
observability
Sets theRestPost.observability()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
asyncCompletionExecutor
Sets theRestPost.asyncCompletionExecutor()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
metricName
Sets theRestPost.metricName()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
metricTags
Sets theRestPost.metricTags()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
produces
Sets theRestPost.produces()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
allowedSerializerOptions
Sets theRestPost.allowedSerializerOptions()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
allowedParserOptions
Sets theRestPost.allowedParserOptions()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
noInherit
Sets theRestPost.noInherit()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
roleGuard
Sets theRestPost.roleGuard()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
rolesDeclared
Sets theRestPost.rolesDeclared()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
serializers
@SafeVarargs public final RestPostAnnotation.Builder serializers(Class<? extends Serializer>... value) Sets theRestPost.serializers()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
summary
Sets theRestPost.summary()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
swagger
Sets theRestPost.swagger()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
value
Sets theRestPost.value()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-