Class RestOpAnnotation.Builder
java.lang.Object
org.apache.juneau.annotation.AnnotationBuilder<B>
org.apache.juneau.annotation.TargetedAnnotationBuilder<B>
org.apache.juneau.annotation.TargetedAnnotationMBuilder<RestOpAnnotation.Builder>
org.apache.juneau.rest.annotation.RestOpAnnotation.Builder
- Enclosing class:
- RestOpAnnotation
public static class RestOpAnnotation.Builder
extends TargetedAnnotationMBuilder<RestOpAnnotation.Builder>
Builder class.
 
See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Instantiates a new@RestOpobject initialized with this builder.clientVersion(String value) Sets theRestOp.clientVersion()property on this annotation.Sets theRestOp.consumes()property on this annotation.final RestOpAnnotation.Builderconverters(Class<? extends RestConverter>... value) Sets theRestOp.converters()property on this annotation.Sets theRestOp.debug()property on this annotation.defaultAccept(String value) Sets theRestOp.defaultAccept()property on this annotation.defaultCharset(String value) Sets theRestOp.defaultCharset()property on this annotation.defaultContentType(String value) Sets theRestOp.defaultContentType()property on this annotation.defaultRequestAttributes(String... value) Sets theRestOp.defaultRequestAttributes()property on this annotation.defaultRequestFormData(String... value) Sets theRestOp.defaultRequestFormData()property on this annotation.defaultRequestHeaders(String... value) Sets theRestOp.defaultRequestHeaders()property on this annotation.defaultRequestQueryData(String... value) Sets theRestOp.defaultRequestQueryData()property on this annotation.defaultResponseHeaders(String... value) Sets theRestOp.defaultResponseHeaders()property on this annotation.final RestOpAnnotation.BuilderSets theRestOp.encoders()property on this annotation.final RestOpAnnotation.BuilderSets theRestOp.guards()property on this annotation.final RestOpAnnotation.Buildermatchers(Class<? extends RestMatcher>... value) Sets theRestOp.matchers()property on this annotation.Sets theRestOp.maxInput()property on this annotation.Sets theRestOp.method()property on this annotation.Sets theRestOp.parsers()property on this annotation.Sets theRestOp.path()property on this annotation.Sets theRestOp.produces()property on this annotation.Sets theRestOp.roleGuard()property on this annotation.rolesDeclared(String value) Sets theRestOp.rolesDeclared()property on this annotation.final RestOpAnnotation.Builderserializers(Class<? extends Serializer>... value) Sets theRestOp.serializers()property on this annotation.Sets theRestOp.summary()property on this annotation.Sets theRestOp.swagger()property on this annotation.Sets theRestOp.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@RestOpobject initialized with this builder.- Returns:
- A new @RestOpobject.
 
- 
clientVersionSets theRestOp.clientVersion()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
consumesSets theRestOp.consumes()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
converters@SafeVarargs public final RestOpAnnotation.Builder converters(Class<? extends RestConverter>... value) Sets theRestOp.converters()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
debugSets theRestOp.debug()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
defaultAcceptSets theRestOp.defaultAccept()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
defaultCharsetSets theRestOp.defaultCharset()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
defaultContentTypeSets theRestOp.defaultContentType()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
defaultRequestFormDataSets theRestOp.defaultRequestFormData()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
defaultRequestQueryDataSets theRestOp.defaultRequestQueryData()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
defaultRequestAttributesSets theRestOp.defaultRequestAttributes()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
defaultRequestHeadersSets theRestOp.defaultRequestHeaders()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
defaultResponseHeadersSets theRestOp.defaultResponseHeaders()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
encodersSets theRestOp.encoders()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
guardsSets theRestOp.guards()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
matchersSets theRestOp.matchers()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
maxInputSets theRestOp.maxInput()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
methodSets theRestOp.method()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
parsersSets theRestOp.parsers()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
pathSets theRestOp.path()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
producesSets theRestOp.produces()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
roleGuardSets theRestOp.roleGuard()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
rolesDeclaredSets theRestOp.rolesDeclared()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
serializers@SafeVarargs public final RestOpAnnotation.Builder serializers(Class<? extends Serializer>... value) Sets theRestOp.serializers()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
summarySets theRestOp.summary()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
swaggerSets theRestOp.swagger()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
valueSets theRestOp.value()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
 
-