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