|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.tobago.internal.context.ResponseWriterDivider
public class ResponseWriterDivider
In some cases the rendered output must be places in the Response in a different order than it was rendered.
The ResponseWriterDivider helps to manage a list of buffers which holds the temporary output.
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
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
IOExceptionpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||