Class RestPostAnnotation.Builder
java.lang.Object
org.apache.juneau.annotation.AnnotationBuilder<B>
org.apache.juneau.annotation.TargetedAnnotationBuilder<B>
org.apache.juneau.annotation.TargetedAnnotationMBuilder<RestPostAnnotation.Builder>
org.apache.juneau.rest.annotation.RestPostAnnotation.Builder
- Enclosing class:
- RestPostAnnotation
public static class RestPostAnnotation.Builder
extends TargetedAnnotationMBuilder<RestPostAnnotation.Builder>
Builder class.
 
See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()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.Sets theRestPost.debug()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.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.Sets theRestPost.parsers()property on this annotation.Sets theRestPost.path()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.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@RestPostobject initialized with this builder.- Returns:
- A new @RestPostobject.
 
- 
clientVersionSets theRestPost.clientVersion()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
consumesSets 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.
 
- 
debugSets theRestPost.debug()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
defaultAcceptSets theRestPost.defaultAccept()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
defaultCharsetSets theRestPost.defaultCharset()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
defaultContentTypeSets theRestPost.defaultContentType()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
defaultRequestFormDataSets theRestPost.defaultRequestFormData()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
defaultRequestQueryDataSets theRestPost.defaultRequestQueryData()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
defaultRequestAttributesSets theRestPost.defaultRequestAttributes()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
defaultRequestHeadersSets theRestPost.defaultRequestHeaders()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
defaultResponseHeadersSets theRestPost.defaultResponseHeaders()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
encodersSets theRestPost.encoders()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
guardsSets 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.
 
- 
maxInputSets theRestPost.maxInput()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
parsersSets theRestPost.parsers()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
pathSets theRestPost.path()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
producesSets theRestPost.produces()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
roleGuardSets theRestPost.roleGuard()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
rolesDeclaredSets 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.
 
- 
summarySets theRestPost.summary()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
swaggerSets theRestPost.swagger()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
valueSets theRestPost.value()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
 
-