Package org.eclipse.jgit.transport
Class ReceivePack.MessageOutputWrapper
java.lang.Object
java.io.OutputStream
org.eclipse.jgit.transport.ReceivePack.MessageOutputWrapper
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
- Enclosing class:
- ReceivePack
Output stream that wraps the current
ReceivePack.msgOut
.
We don't want to expose ReceivePack.msgOut
directly because it can change
several times over the course of a session.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
close, nullOutputStream
-
Constructor Details
-
MessageOutputWrapper
MessageOutputWrapper()
-
-
Method Details
-
write
public void write(int ch) - Specified by:
write
in classOutputStream
-
write
public void write(byte[] b, int off, int len) - Overrides:
write
in classOutputStream
-
write
public void write(byte[] b) - Overrides:
write
in classOutputStream
-
flush
public void flush()- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
-