Class ServletOutputStreamWriter


  • public class ServletOutputStreamWriter
    extends java.lang.Object
    Author:
    Tony Vaagenes, bjorncs
    • Constructor Summary

      Constructors 
      Constructor Description
      ServletOutputStreamWriter​(javax.servlet.ServletOutputStream outputStream, java.util.concurrent.Executor executor, MetricReporter metricReporter)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void close​(com.yahoo.jdisc.handler.CompletionHandler handler)  
      void fail​(java.lang.Throwable t)  
      void sendErrorContentAndCloseAsync​(java.nio.ByteBuffer errorContent)  
      void writeBuffer​(java.nio.ByteBuffer buf, com.yahoo.jdisc.handler.CompletionHandler handler)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ServletOutputStreamWriter

        public ServletOutputStreamWriter​(javax.servlet.ServletOutputStream outputStream,
                                         java.util.concurrent.Executor executor,
                                         MetricReporter metricReporter)
    • Method Detail

      • sendErrorContentAndCloseAsync

        public void sendErrorContentAndCloseAsync​(java.nio.ByteBuffer errorContent)
      • writeBuffer

        public void writeBuffer​(java.nio.ByteBuffer buf,
                                com.yahoo.jdisc.handler.CompletionHandler handler)
      • close

        public void close​(com.yahoo.jdisc.handler.CompletionHandler handler)
      • close

        public void close()
      • fail

        public void fail​(java.lang.Throwable t)