Uses of Class
org.apache.juneau.rest.RestContext
Packages that use RestContext
Package
Description
REST Server API
REST Method Argument Beans
REST Interface Helper Classes
REST Server Mock API
- 
Uses of RestContext in org.apache.juneau.restMethods in org.apache.juneau.rest that return RestContextModifier and TypeMethodDescriptionRestContext.Builder.build()RestChildMatch.getChildContext()Returns the child context of the REST child match.RestRequest.getContext()Returns the resource context handling the request.RestResponse.getContext()Returns access to the innerRestContextof the class of this method.RestSession.getContext()Returns the context that created this call.RestOpSession.getRestContext()Returns the context of the parent class of this Java method.RestContext.postInit()Called during servlet initialization to invoke allRestPostInitchild-last methods.RestContext.postInitChildFirst()Called during servlet initialization to invoke allRestPostInitchild-first methods.Methods in org.apache.juneau.rest that return types with arguments of type RestContextModifier and TypeMethodDescriptionRestChildren.asMap()Returns the children in this object as a map.static final Map<Class<?>,RestContext> RestContext.getGlobalRegistry()Returns a registry of all createdRestContextobjects.Methods in org.apache.juneau.rest with parameters of type RestContextModifier and TypeMethodDescriptionRestChildren.Builder.add(RestContext value) Adds a child resource to this builder.static RestChildMatchRestChildMatch.create(UrlPathMatch pathMatch, RestContext childContext) Creator.static RestContext.BuilderRestContext.create(Class<?> resourceClass, RestContext parentContext, jakarta.servlet.ServletConfig servletConfig) Creates a new builder for this object.static RestOpContext.BuilderRestOpContext.create(Method method, RestContext context) Creates a new builder for this object.static RestSession.BuilderRestSession.create(RestContext ctx) Creates a builder of this object.protected RestChildren.BuilderRestContext.Builder.createRestChildren(BeanStore beanStore, Supplier<?> resource, RestContext restContext) Instantiates the REST children list.protected RestOperations.BuilderRestContext.Builder.createRestOperations(BeanStore beanStore, Supplier<?> resource, RestContext restContext) Instantiates the REST operations list.protected ThrownStore.BuilderRestContext.Builder.createThrownStore(BeanStore beanStore, Supplier<?> resource, RestContext parent) Instantiates the thrown-store sub-builder.RestContext.Builder.restChildren(RestContext restContext) Returns the REST children list.RestContext.Builder.restOperations(RestContext restContext) Returns the REST operations list.Constructors in org.apache.juneau.rest with parameters of type RestContextModifierConstructorDescriptionprotectedBuilder(Class<?> resourceClass, RestContext parentContext, jakarta.servlet.ServletConfig servletConfig) Constructor.protectedBuilder(RestContext ctx) Constructor.protectedRestChildMatch(UrlPathMatch pathMatch, RestContext childContext) Constructor.
- 
Uses of RestContext in org.apache.juneau.rest.argConstructor parameters in org.apache.juneau.rest.arg with type arguments of type RestContextModifierConstructorDescriptionprotectedRestContextArgs(ThrowingFunction<RestContext, T> function) Constructor.
- 
Uses of RestContext in org.apache.juneau.rest.beansConstructors in org.apache.juneau.rest.beans with parameters of type RestContextModifierConstructorDescriptionChildResourceDescriptions(RestContext context, RestRequest req) Constructor.ChildResourceDescriptions(RestContext context, RestRequest req, boolean sort) Constructor.
- 
Uses of RestContext in org.apache.juneau.rest.debugMethods in org.apache.juneau.rest.debug with parameters of type RestContextModifier and TypeMethodDescriptionbooleanDebugEnablement.isDebug(RestContext context, jakarta.servlet.http.HttpServletRequest req) Returnstrue if debug is enabled on the specified class and request.
- 
Uses of RestContext in org.apache.juneau.rest.mockMethods in org.apache.juneau.rest.mock with parameters of type RestContextModifier and TypeMethodDescriptionMockRestClient.Builder.restContext(RestContext value) Specifies theRestContextcreated for the REST bean.
- 
Uses of RestContext in org.apache.juneau.rest.servletMethods in org.apache.juneau.rest.servlet that return RestContextModifier and TypeMethodDescriptionprotected RestContextRestObject.getContext()Returns the read-only context object that contains all the configuration information about this resource.RestServlet.getContext()Returns the read-only context object that contains all the configuration information about this resource.Methods in org.apache.juneau.rest.servlet with parameters of type RestContextModifier and TypeMethodDescriptionprotected voidRestObject.setContext(RestContext context) Sets the context object for this servlet.protected voidRestServlet.setContext(RestContext context) Sets the context object for this servlet.
- 
Uses of RestContext in org.apache.juneau.rest.swaggerMethods in org.apache.juneau.rest.swagger with parameters of type RestContextModifier and TypeMethodDescriptionBasicSwaggerProvider.getSwagger(RestContext context, Locale locale) Returns the Swagger associated with the specified context of aRest-annotated class.SwaggerProvider.getSwagger(RestContext context, Locale locale) Returns the Swagger associated with the specifiedRest-annotated class.Constructors in org.apache.juneau.rest.swagger with parameters of type RestContextModifierConstructorDescriptionBasicSwaggerProviderSession(RestContext context, Locale locale, FileFinder ff, Messages messages, VarResolverSession vr, JsonSchemaGeneratorSession js) Constructor.