public final class ResponseWriterDivider extends Object
ResponseWriterDivider
helps to manage a list of buffers which holds the temporary output.Modifier and Type | Method and Description |
---|---|
boolean |
activateBranch(javax.faces.context.FacesContext facesContext)
Create (if needed) and activate a new branch.
|
static ResponseWriterDivider |
getInstance(javax.faces.context.FacesContext facesContext,
String nameInRequest) |
boolean |
passivateBranch(javax.faces.context.FacesContext facesContext)
Passivate the current branch.
|
String |
toString() |
void |
writeOutAndCleanUp(javax.faces.context.FacesContext facesContext)
Write the collected stuff in the original writer.
|
public static ResponseWriterDivider getInstance(javax.faces.context.FacesContext facesContext, String nameInRequest)
public boolean activateBranch(javax.faces.context.FacesContext facesContext)
It is usually needed to get the response writer again with HtmlRendererUtils.getTobagoResponseWriter();
public boolean passivateBranch(javax.faces.context.FacesContext facesContext)
It is usually needed to get the response writer again with HtmlRendererUtils.getTobagoResponseWriter();
public void writeOutAndCleanUp(javax.faces.context.FacesContext facesContext) throws IOException
IOException
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.