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.rest
Methods 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 innerRestContext
of 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 allRestPostInit
child-last methods.RestContext.postInitChildFirst()
Called during servlet initialization to invoke allRestPostInit
child-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 createdRestContext
objects.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 RestChildMatch
RestChildMatch.create
(UrlPathMatch pathMatch, RestContext childContext) Creator.static RestContext.Builder
RestContext.create
(Class<?> resourceClass, RestContext parentContext, jakarta.servlet.ServletConfig servletConfig) Creates a new builder for this object.static RestOpContext.Builder
RestOpContext.create
(Method method, RestContext context) Creates a new builder for this object.static RestSession.Builder
RestSession.create
(RestContext ctx) Creates a builder of this object.protected RestChildren.Builder
RestContext.Builder.createRestChildren
(BeanStore beanStore, Supplier<?> resource, RestContext restContext) Instantiates the REST children list.protected RestOperations.Builder
RestContext.Builder.createRestOperations
(BeanStore beanStore, Supplier<?> resource, RestContext restContext) Instantiates the REST operations list.protected ThrownStore.Builder
RestContext.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 RestContextModifierConstructorDescriptionprotected
Builder
(Class<?> resourceClass, RestContext parentContext, jakarta.servlet.ServletConfig servletConfig) Constructor.protected
Builder
(RestContext ctx) Constructor.protected
RestChildMatch
(UrlPathMatch pathMatch, RestContext childContext) Constructor. -
Uses of RestContext in org.apache.juneau.rest.arg
Constructor parameters in org.apache.juneau.rest.arg with type arguments of type RestContextModifierConstructorDescriptionprotected
RestContextArgs
(ThrowingFunction<RestContext, T> function) Constructor. -
Uses of RestContext in org.apache.juneau.rest.beans
Constructors 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.debug
Methods in org.apache.juneau.rest.debug with parameters of type RestContextModifier and TypeMethodDescriptionboolean
DebugEnablement.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.mock
Methods in org.apache.juneau.rest.mock with parameters of type RestContextModifier and TypeMethodDescriptionMockRestClient.Builder.restContext
(RestContext value) Specifies theRestContext
created for the REST bean. -
Uses of RestContext in org.apache.juneau.rest.servlet
Methods in org.apache.juneau.rest.servlet that return RestContextModifier and TypeMethodDescriptionprotected RestContext
RestObject.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 void
RestObject.setContext
(RestContext context) Sets the context object for this servlet.protected void
RestServlet.setContext
(RestContext context) Sets the context object for this servlet. -
Uses of RestContext in org.apache.juneau.rest.swagger
Methods 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.