Package org.eclipse.jetty.proxy
Class AfterContentTransformer.Sink
- java.lang.Object
-
- org.eclipse.jetty.proxy.AfterContentTransformer.Sink
-
- Enclosing class:
- AfterContentTransformer
public class AfterContentTransformer.Sink extends java.lang.Object
The target to where the transformed content is written after the transformation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private class
AfterContentTransformer.Sink.SinkOutputStream
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<java.nio.ByteBuffer>
sinkBuffers
private java.io.OutputStream
stream
-
Constructor Summary
Constructors Constructor Description Sink()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
drainTo(java.util.List<java.nio.ByteBuffer> output)
java.io.OutputStream
getOutputStream()
private void
overflow(java.nio.ByteBuffer output)
-
-
-
Method Detail
-
getOutputStream
public java.io.OutputStream getOutputStream()
- Returns:
- an output stream to write the transformed content to
-
overflow
private void overflow(java.nio.ByteBuffer output) throws java.io.IOException
- Throws:
java.io.IOException
-
drainTo
private void drainTo(java.util.List<java.nio.ByteBuffer> output) throws java.io.IOException
- Throws:
java.io.IOException
-
-