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:
Closeable
,Flushable
,AutoCloseable
- Enclosing class:
- TransportHttp.Service
-
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected 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, toString, write, write, writeTo
Methods inherited from class java.io.OutputStream
flush, nullOutputStream, write
-
Constructor Details
-
HttpOutputStream
HttpOutputStream()
-
-
Method Details
-
overflow
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:
IOException
- the buffer cannot create the overflow stream.
-