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.PartialResponseWriterWrapper
org.primefaces.context.PrimePartialResponseWriter
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable,javax.faces.FacesWrapper<javax.faces.context.ResponseWriter>
-
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 org.primefaces.context.PartialResponseWriterWrapper
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 classPartialResponseWriterWrapper- Throws:
IOException
-
startError
- Overrides:
startErrorin classPartialResponseWriterWrapper- Throws:
IOException
-
startEval
- Overrides:
startEvalin classPartialResponseWriterWrapper- Throws:
IOException
-
startExtension
- Overrides:
startExtensionin classPartialResponseWriterWrapper- Throws:
IOException
-
startInsertAfter
- Overrides:
startInsertAfterin classPartialResponseWriterWrapper- Throws:
IOException
-
startInsertBefore
- Overrides:
startInsertBeforein classPartialResponseWriterWrapper- Throws:
IOException
-
startUpdate
- Overrides:
startUpdatein classPartialResponseWriterWrapper- Throws:
IOException
-
updateAttributes
- Overrides:
updateAttributesin classPartialResponseWriterWrapper- Throws:
IOException
-
delete
- Overrides:
deletein classPartialResponseWriterWrapper- 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
-