Class RestMixin.Builder<R extends RestMixin,SELF extends RestMixin.Builder<R,SELF>>

java.lang.Object
org.apache.juneau.rest.server.AbstractRestBuilder<R,SELF>
org.apache.juneau.rest.server.servlet.RestMixin.Builder<R,SELF>
Type Parameters:
R - The mixin type produced by build().
SELF - The concrete builder type (self type).
All Implemented Interfaces:
RestBuilder<SELF>
Direct Known Subclasses:
FaviconMixin.Builder, RestMixin.DefaultBuilder, SeoMixin.Builder, VersionMixin.Builder, WellKnownMixin.Builder
Enclosing class:
RestMixin

public static class RestMixin.Builder<R extends RestMixin,SELF extends RestMixin.Builder<R,SELF>> extends AbstractRestBuilder<R,SELF>
Fluent builder for programmatically configuring a RestMixin subclass.

Subclassable, self-typed (CRTP) flavor builder. Capability mixins (e.g. FaviconMixin) extend this and add their own worker-config setters, which chain with true covariant returns alongside the inherited RestBuildersurface. For the common (non-subclassed) case use RestMixin.builder(Class) which returns the concrete RestMixin.DefaultBuilder leaf.