Package jakarta.faces.context
Class PartialResponseWriter
- java.lang.Object
-
- java.io.Writer
-
- jakarta.faces.context.ResponseWriter
-
- jakarta.faces.context.ResponseWriterWrapper
-
- jakarta.faces.context.PartialResponseWriter
-
- All Implemented Interfaces:
FacesWrapper<ResponseWriter>,Closeable,Flushable,Appendable,AutoCloseable
public class PartialResponseWriter extends ResponseWriterWrapper
- Since:
- 2.0
-
-
Field Summary
Fields Modifier and Type Field Description static StringRENDER_ALL_MARKERstatic StringVIEW_STATE_MARKER
-
Constructor Summary
Constructors Constructor Description PartialResponseWriter(ResponseWriter writer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(String targetId)voidendDocument()voidendError()voidendEval()voidendExtension()voidendInsert()voidendUpdate()voidredirect(String url)voidstartDocument()voidstartError(String errorName)voidstartEval()voidstartExtension(Map<String,String> attributes)voidstartInsertAfter(String targetId)voidstartInsertBefore(String targetId)voidstartUpdate(String targetId)voidupdateAttributes(String targetId, Map<String,String> attributes)-
Methods inherited from class jakarta.faces.context.ResponseWriterWrapper
cloneWithWriter, close, endCDATA, endElement, flush, getCharacterEncoding, getContentType, getWrapped, startCDATA, startElement, write, writeAttribute, writeComment, writeDoctype, writePreamble, writeText, writeText, writeText, writeURIAttribute
-
-
-
-
Field Detail
-
RENDER_ALL_MARKER
public static final String RENDER_ALL_MARKER
- See Also:
- Constant Field Values
-
VIEW_STATE_MARKER
public static final String VIEW_STATE_MARKER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PartialResponseWriter
public PartialResponseWriter(ResponseWriter writer)
-
-
Method Detail
-
delete
public void delete(String targetId) throws IOException
- Throws:
IOException
-
endDocument
public void endDocument() throws IOException- Overrides:
endDocumentin classResponseWriterWrapper- Throws:
IOException
-
endError
public void endError() throws IOException- Throws:
IOException
-
endEval
public void endEval() throws IOException- Throws:
IOException
-
endExtension
public void endExtension() throws IOException- Throws:
IOException
-
endInsert
public void endInsert() throws IOException- Throws:
IOException
-
endUpdate
public void endUpdate() throws IOException- Throws:
IOException
-
redirect
public void redirect(String url) throws IOException
- Throws:
IOException
-
startDocument
public void startDocument() throws IOException- Overrides:
startDocumentin classResponseWriterWrapper- Throws:
IOException
-
startError
public void startError(String errorName) throws IOException
- Throws:
IOException
-
startEval
public void startEval() throws IOException- Throws:
IOException
-
startExtension
public void startExtension(Map<String,String> attributes) throws IOException
- Throws:
IOException
-
startInsertAfter
public void startInsertAfter(String targetId) throws IOException
- Throws:
IOException
-
startInsertBefore
public void startInsertBefore(String targetId) throws IOException
- Throws:
IOException
-
startUpdate
public void startUpdate(String targetId) throws IOException
- Throws:
IOException
-
updateAttributes
public void updateAttributes(String targetId, Map<String,String> attributes) throws IOException
- Throws:
IOException
-
-