public final class ComposeStackUtil extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static String | COMPOSE_STACK_ATTRIBUTE_NAMEThe name of the attribute that holds to compose stack. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Object | findAncestorWithClass(Deque<Object> composeStack,
                     Class<?> clazz)Finds the first ancestor in the stack, that is assignable to the given class. | 
| static Deque<Object> | getComposeStack(Request request)Returns the current compose stack, or creates a new one if not present. | 
public static final String COMPOSE_STACK_ATTRIBUTE_NAME
public static Object findAncestorWithClass(Deque<Object> composeStack, Class<?> clazz)
composeStack - To compose stack to evaluate.clazz - The class to check.Copyright © 2000–2025 Apache Software Foundation. All rights reserved.