Package org.eclipse.jgit.transport
Class TransportHttp.Service.HttpOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- org.eclipse.jgit.util.TemporaryBuffer
-
- org.eclipse.jgit.transport.TransportHttp.Service.HttpOutputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.AutoCloseable
- Enclosing class:
- TransportHttp.Service
class TransportHttp.Service.HttpOutputStream extends TemporaryBuffer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jgit.util.TemporaryBuffer
TemporaryBuffer.Heap, TemporaryBuffer.LocalFile
-
-
Field Summary
-
Fields inherited from class org.eclipse.jgit.util.TemporaryBuffer
DEFAULT_IN_CORE_LIMIT
-
-
Constructor Summary
Constructors Constructor Description HttpOutputStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.io.OutputStream
overflow()
Open the overflow output stream, so the remaining output can be stored.-
Methods inherited from class org.eclipse.jgit.util.TemporaryBuffer
close, copy, destroy, doFlush, length, openInputStream, openInputStreamWithAutoDestroy, reset, toByteArray, toByteArray, write, write, writeTo
-
-
-
-
Method Detail
-
overflow
protected java.io.OutputStream overflow() throws java.io.IOException
Description copied from class:TemporaryBuffer
Open the overflow output stream, so the remaining output can be stored.- Specified by:
overflow
in classTemporaryBuffer
- Returns:
- the output stream to receive the buffered content, followed by the remaining output.
- Throws:
java.io.IOException
- the buffer cannot create the overflow stream.
-
-