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>
public class PrimePartialResponseWriter extends PartialResponseWriterWrapper
-
-
Constructor Summary
Constructors Constructor Description PrimePartialResponseWriter(javax.faces.context.PartialResponseWriter wrapped)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(String targetId)voidencodeCallbackParams(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)voidendDocument()voidstartError(String errorName)voidstartEval()voidstartExtension(Map<String,String> attributes)voidstartInsertAfter(String targetId)voidstartInsertBefore(String targetId)protected voidstartMetadataIfNecessary()voidstartUpdate(String targetId)voidupdateAttributes(String targetId, Map<String,String> attributes)-
Methods inherited from class org.primefaces.context.PartialResponseWriterWrapper
endError, endEval, endExtension, endInsert, endUpdate, redirect, startDocument
-
Methods 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
-
-
-
-
Method Detail
-
endDocument
public void endDocument() throws IOException- Overrides:
endDocumentin classPartialResponseWriterWrapper- Throws:
IOException
-
startError
public void startError(String errorName) throws IOException
- Overrides:
startErrorin classPartialResponseWriterWrapper- Throws:
IOException
-
startEval
public void startEval() throws IOException- Overrides:
startEvalin classPartialResponseWriterWrapper- Throws:
IOException
-
startExtension
public void startExtension(Map<String,String> attributes) throws IOException
- Overrides:
startExtensionin classPartialResponseWriterWrapper- Throws:
IOException
-
startInsertAfter
public void startInsertAfter(String targetId) throws IOException
- Overrides:
startInsertAfterin classPartialResponseWriterWrapper- Throws:
IOException
-
startInsertBefore
public void startInsertBefore(String targetId) throws IOException
- Overrides:
startInsertBeforein classPartialResponseWriterWrapper- Throws:
IOException
-
startUpdate
public void startUpdate(String targetId) throws IOException
- Overrides:
startUpdatein classPartialResponseWriterWrapper- Throws:
IOException
-
updateAttributes
public void updateAttributes(String targetId, Map<String,String> attributes) throws IOException
- Overrides:
updateAttributesin classPartialResponseWriterWrapper- Throws:
IOException
-
delete
public void delete(String targetId) throws IOException
- 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
protected void encodeScripts(PrimeRequestContext requestContext) throws IOException
- Throws:
IOException
-
startMetadataIfNecessary
protected void startMetadataIfNecessary() throws IOException- Throws:
IOException
-
-