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
  • Constructor Details

    • PrimePartialResponseWriter

      public PrimePartialResponseWriter(javax.faces.context.PartialResponseWriter wrapped)
  • Method Details

    • endDocument

      public void endDocument() throws IOException
      Overrides:
      endDocument in class javax.faces.context.PartialResponseWriter
      Throws:
      IOException
    • startError

      public void startError(String errorName) throws IOException
      Overrides:
      startError in class javax.faces.context.PartialResponseWriter
      Throws:
      IOException
    • startEval

      public void startEval() throws IOException
      Overrides:
      startEval in class javax.faces.context.PartialResponseWriter
      Throws:
      IOException
    • startExtension

      public void startExtension(Map<String,String> attributes) throws IOException
      Overrides:
      startExtension in class javax.faces.context.PartialResponseWriter
      Throws:
      IOException
    • startInsertAfter

      public void startInsertAfter(String targetId) throws IOException
      Overrides:
      startInsertAfter in class javax.faces.context.PartialResponseWriter
      Throws:
      IOException
    • startInsertBefore

      public void startInsertBefore(String targetId) throws IOException
      Overrides:
      startInsertBefore in class javax.faces.context.PartialResponseWriter
      Throws:
      IOException
    • startUpdate

      public void startUpdate(String targetId) throws IOException
      Overrides:
      startUpdate in class javax.faces.context.PartialResponseWriter
      Throws:
      IOException
    • updateAttributes

      public void updateAttributes(String targetId, Map<String,String> attributes) throws IOException
      Overrides:
      updateAttributes in class javax.faces.context.PartialResponseWriter
      Throws:
      IOException
    • delete

      public void delete(String targetId) throws IOException
      Overrides:
      delete in class javax.faces.context.PartialResponseWriter
      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