Uses of Interface
org.apache.juneau.rest.server.RestContext.ContextKind
Packages that use RestContext.ContextKind
-
Uses of RestContext.ContextKind in org.apache.juneau.rest.server
Classes in org.apache.juneau.rest.server that implement RestContext.ContextKindModifier and TypeClassDescriptionstatic final recordA routed child resource (mounted viaRest.children()/Rest.childrenDefs()); isolated resolution, with an optional host-seeded@Childpayload injected at the least-derived slot of its own annotation chain (see the class javadoc above).static final recordA per-mixin sub-context (composed viaRest.mixins()/Rest.mixinDefs()); inherits the host chain.static final recordA top-level (host) resource, mock context, or servlet-mounted resource.Fields in org.apache.juneau.rest.server declared as RestContext.ContextKindModifier and TypeFieldDescriptionprotected final RestContext.ContextKindRestContext.contextKindThe build-time kind of this context (nevernull).static final RestContext.ContextKindRestContext.ContextKind.ROOTSharedRestContext.ContextKind.Rootsingleton (the common case).Methods in org.apache.juneau.rest.server that return RestContext.ContextKindModifier and TypeMethodDescriptionRestContext.Args.kind()Returns the value of thekindrecord component.Constructors in org.apache.juneau.rest.server with parameters of type RestContext.ContextKindModifierConstructorDescriptionArgs(Class<?> resourceClass, RestContext parentContext, jakarta.servlet.ServletConfig servletConfig, Supplier<?> resource, String path, Consumer<WritableBeanStore> beanStoreConfigurer, BeanStore overridingParent, String[] paths, RestContext.ContextKind kind) Back-compatible constructor without therestBuildercomponent (defaults it tonull ).Args(Class<?> resourceClass, RestContext parentContext, jakarta.servlet.ServletConfig servletConfig, Supplier<?> resource, String path, Consumer<WritableBeanStore> beanStoreConfigurer, BeanStore overridingParent, String[] paths, RestContext.ContextKind kind, RestBuilder<?> restBuilder) Compact canonical constructor — null-coalesces optional fields and validates required ones.