Package org.apache.juneau.rest
Class RestChildren
java.lang.Object
org.apache.juneau.rest.RestChildren
- Direct Known Subclasses:
- RestChildren.Void
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classBuilder class.final classRepresents a null value for theRest.restChildrenClass()annotation.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionasMap()Returns the children in this object as a map.static RestChildren.BuilderStatic creator.voiddestroy()Called during servlet destruction on all children to invoke allRestDestroyandServlet.destroy()methods.findMatch(RestSession.Builder builder) Looks through the registered children of this object and returns the best match.voidpostInit()Called during servlet initialization on all children to invoke allRestPostInitchild-last methods.voidCalled during servlet initialization on all children to invoke allRestPostInitchild-first methods.
- 
Constructor Details- 
RestChildrenConstructor.- Parameters:
- builder- The builder containing the settings for this object.
 
 
- 
- 
Method Details- 
createStatic creator.- Parameters:
- beanStore- The bean store to use for creating beans.
- Returns:
- A new builder for this object.
 
- 
findMatchLooks through the registered children of this object and returns the best match.- Parameters:
- builder- The HTTP call builder.
- Returns:
- The child that best matches the call, or an empty Optionalif a match could not be made.
 
- 
asMapReturns the children in this object as a map.The keys are the pathsof the child contexts.- Returns:
- The children as an unmodifiable map.
 
- 
postInitCalled during servlet initialization on all children to invoke allRestPostInitchild-last methods.- Throws:
- jakarta.servlet.ServletException- Error occurred.
 
- 
postInitChildFirstCalled during servlet initialization on all children to invoke allRestPostInitchild-first methods.- Throws:
- jakarta.servlet.ServletException- Error occurred.
 
- 
destroyCalled during servlet destruction on all children to invoke allRestDestroyandServlet.destroy()methods.
 
-