Class RestGetAnnotation.Builder
java.lang.Object
org.apache.juneau.annotation.AnnotationBuilder<B>
org.apache.juneau.annotation.TargetedAnnotationBuilder<B>
org.apache.juneau.annotation.TargetedAnnotationMBuilder<RestGetAnnotation.Builder>
org.apache.juneau.rest.annotation.RestGetAnnotation.Builder
- Enclosing class:
- RestGetAnnotation
public static class RestGetAnnotation.Builder
extends TargetedAnnotationMBuilder<RestGetAnnotation.Builder>
Builder class.
 
See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()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.Sets theRestGet.debug()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.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.Sets theRestGet.path()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.annotation.TargetedAnnotationMBuilderonMethods inherited from class org.apache.juneau.annotation.TargetedAnnotationBuilderonMethods inherited from class org.apache.juneau.annotation.AnnotationBuilderasThis, description
- 
Constructor Details- 
Builderprotected Builder()Constructor.
 
- 
- 
Method Details- 
buildInstantiates a new@RestGetobject initialized with this builder.- Returns:
- A new @RestGetobject.
 
- 
clientVersionSets 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.
 
- 
debugSets theRestGet.debug()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
defaultAcceptSets theRestGet.defaultAccept()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
defaultCharsetSets theRestGet.defaultCharset()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
defaultRequestQueryDataSets theRestGet.defaultRequestQueryData()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
defaultRequestAttributesSets theRestGet.defaultRequestAttributes()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
defaultRequestHeadersSets theRestGet.defaultRequestHeaders()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
defaultResponseHeadersSets theRestGet.defaultResponseHeaders()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
encodersSets theRestGet.encoders()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
guardsSets theRestGet.guards()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
matchersSets theRestGet.matchers()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
pathSets theRestGet.path()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
producesSets theRestGet.produces()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
roleGuardSets theRestGet.roleGuard()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
rolesDeclaredSets 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.
 
- 
summarySets theRestGet.summary()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
swaggerSets theRestGet.swagger()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
valueSets theRestGet.value()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
 
-