Class StreamedContentHandler

java.lang.Object
org.primefaces.application.resource.BaseDynamicContentHandler
org.primefaces.application.resource.StreamedContentHandler
All Implemented Interfaces:
DynamicContentHandler

public class StreamedContentHandler extends BaseDynamicContentHandler
  • Constructor Details

    • StreamedContentHandler

      public StreamedContentHandler()
  • Method Details

    • handle

      public void handle(javax.faces.context.FacesContext context) throws IOException
      Throws:
      IOException
    • setResponseHeaders

      protected void setResponseHeaders(StreamedContent streamedContent, javax.faces.context.ExternalContext externalContext)
    • stream

      protected void stream(javax.faces.context.ExternalContext externalContext, InputStream inputStream, boolean cache) throws IOException
      Throws:
      IOException
    • stream

      protected void stream(javax.faces.context.ExternalContext externalContext, Consumer<OutputStream> writer, boolean cache) throws IOException
      Throws:
      IOException
    • sendNotFound

      protected void sendNotFound(javax.faces.context.ExternalContext externalContext) throws IOException
      Throws:
      IOException