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 void
delete(String targetId)
void
encodeCallbackParams(Map<String,Object> params)
void
encodeJSONArray(String paramName, org.json.JSONArray jsonArray)
void
encodeJSONObject(String paramName, org.json.JSONObject jsonObject)
void
encodeJSONValue(String paramName, Object paramValue)
protected void
encodeScripts(PrimeRequestContext requestContext)
void
endDocument()
void
startError(String errorName)
void
startEval()
void
startExtension(Map<String,String> attributes)
void
startInsertAfter(String targetId)
void
startInsertBefore(String targetId)
protected void
startMetadataIfNecessary()
void
startUpdate(String targetId)
void
updateAttributes(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:
endDocument
in classPartialResponseWriterWrapper
- Throws:
IOException
-
startError
public void startError(String errorName) throws IOException
- Overrides:
startError
in classPartialResponseWriterWrapper
- Throws:
IOException
-
startEval
public void startEval() throws IOException
- Overrides:
startEval
in classPartialResponseWriterWrapper
- Throws:
IOException
-
startExtension
public void startExtension(Map<String,String> attributes) throws IOException
- Overrides:
startExtension
in classPartialResponseWriterWrapper
- Throws:
IOException
-
startInsertAfter
public void startInsertAfter(String targetId) throws IOException
- Overrides:
startInsertAfter
in classPartialResponseWriterWrapper
- Throws:
IOException
-
startInsertBefore
public void startInsertBefore(String targetId) throws IOException
- Overrides:
startInsertBefore
in classPartialResponseWriterWrapper
- Throws:
IOException
-
startUpdate
public void startUpdate(String targetId) throws IOException
- Overrides:
startUpdate
in classPartialResponseWriterWrapper
- Throws:
IOException
-
updateAttributes
public void updateAttributes(String targetId, Map<String,String> attributes) throws IOException
- Overrides:
updateAttributes
in classPartialResponseWriterWrapper
- Throws:
IOException
-
delete
public void delete(String targetId) throws IOException
- Overrides:
delete
in classPartialResponseWriterWrapper
- Throws:
IOException
-
encodeJSONObject
public void encodeJSONObject(String paramName, org.json.JSONObject jsonObject) throws IOException, org.json.JSONException
- Throws:
IOException
org.json.JSONException
-
encodeJSONArray
public void encodeJSONArray(String paramName, org.json.JSONArray jsonArray) throws IOException, org.json.JSONException
- Throws:
IOException
org.json.JSONException
-
encodeJSONValue
public void encodeJSONValue(String paramName, Object paramValue) throws IOException, org.json.JSONException
- Throws:
IOException
org.json.JSONException
-
encodeCallbackParams
public void encodeCallbackParams(Map<String,Object> params) throws IOException, org.json.JSONException
- Throws:
IOException
org.json.JSONException
-
encodeScripts
protected void encodeScripts(PrimeRequestContext requestContext) throws IOException
- Throws:
IOException
-
startMetadataIfNecessary
protected void startMetadataIfNecessary() throws IOException
- Throws:
IOException
-
-