Class MoveScriptsToBottomResponseWriter

java.lang.Object
java.io.Writer
javax.faces.context.ResponseWriter
javax.faces.context.ResponseWriterWrapper
org.primefaces.application.resource.MoveScriptsToBottomResponseWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable, javax.faces.FacesWrapper<javax.faces.context.ResponseWriter>

public class MoveScriptsToBottomResponseWriter extends javax.faces.context.ResponseWriterWrapper
  • Constructor Details

    • MoveScriptsToBottomResponseWriter

      public MoveScriptsToBottomResponseWriter(javax.faces.context.ResponseWriter wrapped, MoveScriptsToBottomState state)
  • Method Details

    • write

      public void write(int c) throws IOException
      Overrides:
      write in class Writer
      Throws:
      IOException
    • write

      public void write(char[] cbuf) throws IOException
      Overrides:
      write in class Writer
      Throws:
      IOException
    • write

      public void write(char[] cbuf, int off, int len) throws IOException
      Overrides:
      write in class javax.faces.context.ResponseWriterWrapper
      Throws:
      IOException
    • write

      public void write(String str) throws IOException
      Overrides:
      write in class Writer
      Throws:
      IOException
    • writeText

      public void writeText(char[] cbuf, int off, int len) throws IOException
      Overrides:
      writeText in class javax.faces.context.ResponseWriterWrapper
      Throws:
      IOException
    • writeText

      public void writeText(Object text, String property) throws IOException
      Overrides:
      writeText in class javax.faces.context.ResponseWriterWrapper
      Throws:
      IOException
    • writeText

      public void writeText(Object text, javax.faces.component.UIComponent component, String property) throws IOException
      Overrides:
      writeText in class javax.faces.context.ResponseWriterWrapper
      Throws:
      IOException
    • writeAttribute

      public void writeAttribute(String name, Object value, String property) throws IOException
      Overrides:
      writeAttribute in class javax.faces.context.ResponseWriterWrapper
      Throws:
      IOException
    • writeURIAttribute

      public void writeURIAttribute(String name, Object value, String property) throws IOException
      Overrides:
      writeURIAttribute in class javax.faces.context.ResponseWriterWrapper
      Throws:
      IOException
    • startElement

      public void startElement(String name, javax.faces.component.UIComponent component) throws IOException
      Overrides:
      startElement in class javax.faces.context.ResponseWriterWrapper
      Throws:
      IOException
    • endElement

      public void endElement(String name) throws IOException
      Overrides:
      endElement in class javax.faces.context.ResponseWriterWrapper
      Throws:
      IOException
    • writeFouc

      protected void writeFouc() throws IOException
      Throws:
      IOException
    • mergeAndMinimizeInlineScripts

      protected String mergeAndMinimizeInlineScripts(String id, String type, List<String> inlines, boolean deferred)
    • cloneWithWriter

      public javax.faces.context.ResponseWriter cloneWithWriter(Writer writer)
      Overrides:
      cloneWithWriter in class javax.faces.context.ResponseWriterWrapper
    • updateAttributes

      protected void updateAttributes(String name, String value)
    • isFirefox

      protected boolean isFirefox()