Class RestOpArgList.Builder
java.lang.Object
org.apache.juneau.rest.server.arg.RestOpArgList.Builder
- Enclosing class:
- RestOpArgList
Builder class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionPrepends the specified rest op arg classes to the list.Returns the bean store used by this builder.build()Builds the list.
-
Constructor Details
-
Builder
Constructor.- Parameters:
beanStore- The bean store to use for creating beans.
-
-
Method Details
-
beanStore
Returns the bean store used by this builder.- Returns:
- The bean store used by this builder.
-
add
Prepends the specified rest op arg classes to the list.- Parameters:
values- The values to add. Must not benull .- Returns:
- This object.
- Throws:
IllegalArgumentException- if any class does not extend fromRestOpArg.
-
build
Builds the list.- Returns:
- A new
RestOpArgList.
-