Package org.primefaces.context
Class PrimePartialResponseWriter
java.lang.Object
java.io.Writer
javax.faces.context.ResponseWriter
javax.faces.context.ResponseWriterWrapper
javax.faces.context.PartialResponseWriter
org.primefaces.context.PrimePartialResponseWriter
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable,javax.faces.FacesWrapper<javax.faces.context.ResponseWriter>
- Direct Known Subclasses:
CspPartialResponseWriter
public class PrimePartialResponseWriter
extends javax.faces.context.PartialResponseWriter
-
Field Summary
Fields inherited from class javax.faces.context.PartialResponseWriter
RENDER_ALL_MARKER, VIEW_STATE_MARKER -
Constructor Summary
ConstructorsConstructorDescriptionPrimePartialResponseWriter(javax.faces.context.PartialResponseWriter wrapped) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidencodeCallbackParams(Map<String, Object> params) voidencodeJSONArray(String paramName, org.json.JSONArray jsonArray) voidencodeJSONObject(String paramName, org.json.JSONObject jsonObject) voidencodeJSONValue(String paramName, Object paramValue) protected voidencodeScripts(PrimeRequestContext requestContext) voidvoidstartError(String errorName) voidvoidstartExtension(Map<String, String> attributes) voidstartInsertAfter(String targetId) voidstartInsertBefore(String targetId) protected voidvoidstartUpdate(String targetId) voidupdateAttributes(String targetId, Map<String, String> attributes) Methods inherited from class javax.faces.context.PartialResponseWriter
endError, endEval, endExtension, endInsert, endUpdate, redirect, startDocumentMethods inherited from class javax.faces.context.ResponseWriterWrapper
cloneWithWriter, close, endCDATA, endElement, flush, getCharacterEncoding, getContentType, getWrapped, startCDATA, startElement, write, writeAttribute, writeComment, writeDoctype, writePreamble, writeText, writeText, writeText, writeURIAttribute
-
Constructor Details
-
PrimePartialResponseWriter
public PrimePartialResponseWriter(javax.faces.context.PartialResponseWriter wrapped)
-
-
Method Details
-
endDocument
- Overrides:
endDocumentin classjavax.faces.context.PartialResponseWriter- Throws:
IOException
-
startError
- Overrides:
startErrorin classjavax.faces.context.PartialResponseWriter- Throws:
IOException
-
startEval
- Overrides:
startEvalin classjavax.faces.context.PartialResponseWriter- Throws:
IOException
-
startExtension
- Overrides:
startExtensionin classjavax.faces.context.PartialResponseWriter- Throws:
IOException
-
startInsertAfter
- Overrides:
startInsertAfterin classjavax.faces.context.PartialResponseWriter- Throws:
IOException
-
startInsertBefore
- Overrides:
startInsertBeforein classjavax.faces.context.PartialResponseWriter- Throws:
IOException
-
startUpdate
- Overrides:
startUpdatein classjavax.faces.context.PartialResponseWriter- Throws:
IOException
-
updateAttributes
- Overrides:
updateAttributesin classjavax.faces.context.PartialResponseWriter- Throws:
IOException
-
delete
- Overrides:
deletein classjavax.faces.context.PartialResponseWriter- Throws:
IOException
-
encodeJSONObject
public void encodeJSONObject(String paramName, org.json.JSONObject jsonObject) throws IOException, org.json.JSONException - Throws:
IOExceptionorg.json.JSONException
-
encodeJSONArray
public void encodeJSONArray(String paramName, org.json.JSONArray jsonArray) throws IOException, org.json.JSONException - Throws:
IOExceptionorg.json.JSONException
-
encodeJSONValue
public void encodeJSONValue(String paramName, Object paramValue) throws IOException, org.json.JSONException - Throws:
IOExceptionorg.json.JSONException
-
encodeCallbackParams
public void encodeCallbackParams(Map<String, Object> params) throws IOException, org.json.JSONException- Throws:
IOExceptionorg.json.JSONException
-
encodeScripts
- Throws:
IOException
-
startMetadataIfNecessary
- Throws:
IOException
-