| Modifier and Type | Class and Description |
|---|---|
| private static class | PartialViewContextImpl.
Delays the actual construction of the PartialResponseWriter until content is going to actually be written. |
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private Boolean | |
| private FacesContext | |
| private List | |
| private List | |
| private static final Logger | |
| private static final String | |
| private Boolean | |
| private PartialResponseWriter | |
| private boolean | |
| private Boolean | |
| private Collection | |
| private static final Set | |
| private static final Set |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private PartialResponseWriter | |
| private static VisitContext | createPartialVisitContext(FacesContext context, Collection<String> clientIds, boolean executeLifecycle)
|
| private void | |
| public List | getEvalScripts()
Implements abstract jakarta.
Returns a mutable |
| public Collection | getExecuteIds()
Implements abstract jakarta.
Return a |
| public PartialResponseWriter | getPartialResponseWriter()
Implements abstract jakarta.
Return the |
| public Collection | getRenderIds()
Implements abstract jakarta.
Return a |
| public boolean | isAjaxRequest()
Implements abstract jakarta.
Return |
| public boolean | isExecuteAll()
Implements abstract jakarta.
Return |
| public boolean | isPartialRequest()
Implements abstract jakarta.
Return |
| public boolean | isRenderAll()
Implements abstract jakarta.
Return |
| public boolean | isResetValues()
Overrides jakarta.
Return |
| private List | |
| private void | processComponents(UIComponent component, PhaseId phaseId, Collection<String> phaseClientIds, FacesContext context)
|
| public void | processPartial(PhaseId
the phaseId)jakarta. that indicates the lifecycle phase the components will be
processed in.Implements abstract jakarta.
Perform lifecycle processing on components during the indicated |
| public void | release()
Implements abstract jakarta.
Release any resources associated with this |
| private void | |
| private void | |
| private void | |
| private void | |
| private static void | |
| public void | setPartialRequest(boolean
the value isPartialRequest)true indicates this is a partial request.Implements abstract jakarta. Dynamically indicate that this is a partial request. |
| public void | setRenderAll(boolean
the value renderAll)true indicates the entire view must be rendered.Implements abstract jakarta.
Indicate the entire view must be rendered if |
| private static PartialVisitContext | Returns: the (unwrapped) partial visit context.the visit context. visitContext)Unwraps |
| ajaxRequest | back to summary |
|---|---|
| private Boolean ajaxRequest | |
| ctx | back to summary |
|---|---|
| private FacesContext ctx | |
| evalScripts | back to summary |
|---|---|
| private List<String> evalScripts | |
| executeIds | back to summary |
|---|---|
| private List<String> executeIds | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| ORIGINAL_WRITER | back to summary |
|---|---|
| private static final String ORIGINAL_WRITER | |
| partialRequest | back to summary |
|---|---|
| private Boolean partialRequest | |
| partialResponseWriter | back to summary |
|---|---|
| private PartialResponseWriter partialResponseWriter | |
| released | back to summary |
|---|---|
| private boolean released | |
| renderAll | back to summary |
|---|---|
| private Boolean renderAll | |
| renderIds | back to summary |
|---|---|
| private Collection<String> renderIds | |
| SKIP_UNRENDERED_AND_EXECUTE_LIFECYCLE_HINTS | back to summary |
|---|---|
| private static final Set<VisitHint> SKIP_UNRENDERED_AND_EXECUTE_LIFECYCLE_HINTS | |
| SKIP_UNRENDERED_HINT | back to summary |
|---|---|
| private static final Set<VisitHint> SKIP_UNRENDERED_HINT | |
| PartialViewContextImpl | back to summary |
|---|---|
| public PartialViewContextImpl(FacesContext ctx) | |
| assertNotReleased | back to summary |
|---|---|
| private void assertNotReleased() | |
| cleanupAfterView | back to summary |
|---|---|
| private void cleanupAfterView() | |
| createPartialResponseWriter | back to summary |
|---|---|
| private PartialResponseWriter createPartialResponseWriter() | |
| createPartialVisitContext | back to summary |
|---|---|
| private static VisitContext createPartialVisitContext(FacesContext context, Collection<String> clientIds, boolean executeLifecycle) | |
| doFlashPostPhaseActions | back to summary |
|---|---|
| private void doFlashPostPhaseActions(FacesContext ctx) | |
| getEvalScripts | back to summary |
|---|---|
| public List Implements abstract jakarta. Doc from jakarta.
Returns a mutable
| |
| getExecuteIds | back to summary |
|---|---|
| public Collection Implements abstract jakarta. Doc from jakarta.
Return a
| |
| getPartialResponseWriter | back to summary |
|---|---|
| public PartialResponseWriter getPartialResponseWriter() Implements abstract jakarta. Doc from jakarta.
Return the
| |
| getRenderIds | back to summary |
|---|---|
| public Collection Implements abstract jakarta. Doc from jakarta.
Return a
| |
| isAjaxRequest | back to summary |
|---|---|
| public boolean isAjaxRequest() Implements abstract jakarta. Doc from jakarta.
Return
| |
| isExecuteAll | back to summary |
|---|---|
| public boolean isExecuteAll() Implements abstract jakarta. Doc from jakarta.
Return
| |
| isPartialRequest | back to summary |
|---|---|
| public boolean isPartialRequest() Implements abstract jakarta. Doc from jakarta.
Return
| |
| isRenderAll | back to summary |
|---|---|
| public boolean isRenderAll() Implements abstract jakarta. Doc from jakarta.
Return
| |
| isResetValues | back to summary |
|---|---|
| public boolean isResetValues() Overrides jakarta. Doc from jakarta.
Return
| |
| populatePhaseClientIds | back to summary |
|---|---|
| private List | |
| processComponents | back to summary |
|---|---|
| private void processComponents(UIComponent component, PhaseId phaseId, Collection<String> phaseClientIds, FacesContext context) throws IOException | |
| processPartial | back to summary |
|---|---|
| public void processPartial(PhaseId phaseId) Implements abstract jakarta. Doc from jakarta.
Perform lifecycle processing on components during the indicated
When the indicated
| |
| release | back to summary |
|---|---|
| public void release() Implements abstract jakarta. Doc from jakarta.
Release any resources associated with this
| |
| renderAll | back to summary |
|---|---|
| private void renderAll(FacesContext context, UIViewRoot viewRoot) throws IOException | |
| renderComponentResources | back to summary |
|---|---|
| private void renderComponentResources(FacesContext context, UIViewRoot viewRoot) throws IOException | |
| renderEvalScripts | back to summary |
|---|---|
| private void renderEvalScripts(FacesContext context) throws IOException | |
| renderState | back to summary |
|---|---|
| private void renderState(FacesContext context) throws IOException | |
| resetValues | back to summary |
|---|---|
| private static void resetValues(UIComponent component, Collection<String> clientIds, FacesContext context) | |
| setPartialRequest | back to summary |
|---|---|
| public void setPartialRequest(boolean isPartialRequest) Implements abstract jakarta. Doc from jakarta. Dynamically indicate that this is a partial request.
| |
| setRenderAll | back to summary |
|---|---|
| public void setRenderAll(boolean renderAll) Implements abstract jakarta. Doc from jakarta.
Indicate the entire view must be rendered if
| |
| unwrapPartialVisitContext | back to summary |
|---|---|
| private static PartialVisitContext unwrapPartialVisitContext(VisitContext visitContext) Unwraps
| |
| Modifier and Type | Field and Description |
|---|---|
| private final PartialViewContextImpl | |
| private ResponseWriter |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ResponseWriter | getWrapped()
Overrides jakarta. Implements jakarta. A class that implements this interface uses this method to return an instance of the class being wrapped. |
| public void |
| ctx | back to summary |
|---|---|
| private final PartialViewContextImpl ctx | |
| writer | back to summary |
|---|---|
| private ResponseWriter writer | |
| DelayedInitPartialResponseWriter | back to summary |
|---|---|
| public DelayedInitPartialResponseWriter(PartialViewContextImpl ctx) | |
| getWrapped | back to summary |
|---|---|
| public ResponseWriter getWrapped() Overrides jakarta. Implements jakarta. Doc from jakarta. A class that implements this interface uses this method to return an instance of the class being wrapped.
| |
| write | back to summary |
|---|---|
| public void write(String text) throws IOException Overrides java. Doc from java. Writes a string.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public VisitResult | visit(VisitContext
the context, UIComponent VisitContext for this tree visit.the target)UIComponent to visitImplements jakarta.
This method is called during component tree visits by |
| DoResetValues | back to summary |
|---|---|
| private DoResetValues() | |
| visit | back to summary |
|---|---|
| public VisitResult visit(VisitContext context, UIComponent target) Implements jakarta. Doc from jakarta.
This method is called during component tree visits by
| |
| Modifier and Type | Field and Description |
|---|---|
| private final FacesContext | |
| private final PhaseId |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public VisitResult | visit(VisitContext
the context, UIComponent VisitContext for this tree visit.the comp)UIComponent to visitImplements jakarta.
This method is called during component tree visits by |
| ctx | back to summary |
|---|---|
| private final FacesContext ctx | |
| curPhase | back to summary |
|---|---|
| private final PhaseId curPhase | |
| PhaseAwareVisitCallback | back to summary |
|---|---|
| private PhaseAwareVisitCallback(FacesContext ctx, PhaseId curPhase) | |
| visit | back to summary |
|---|---|
| public VisitResult visit(VisitContext context, UIComponent comp) Implements jakarta. Doc from jakarta.
This method is called during component tree visits by
| |