public class DelegatingServletOutputStream extends ServletOutputStreamEE
ServletOutputStreamEE の実装の委譲。MockHttpServletResponse で使用されます。通常、アプリケーションコントローラーのテストには直接使用されません。
MockHttpServletResponse| コンストラクターと説明 |
|---|
DelegatingServletOutputStream(OutputStreamSE targetStream) 指定されたターゲットストリームの DelegatingServletOutputStream を作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
void | close() |
void | flush() |
OutputStreamSE | getTargetStream() 基になるターゲットストリームを返します( null は決してしないでください)。 |
boolean | isReady() |
void | setWriteListener(WriteListenerEE writeListener) |
void | write(int b) |
printEE, printEE, printEE, printEE, printEE, printEE, printEE, printlnEE, printlnEE, printlnEE, printlnEE, printlnEE, printlnEE, printlnEE, printlnEEwriteSE, writeSEcloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic DelegatingServletOutputStream(OutputStreamSE targetStream)
targetStream - ターゲットストリーム (非 null)public final OutputStreamSE getTargetStream()
null は決してしないでください)。public void write(int b)
throws IOExceptionSEOutputStreamSE の writeSE IOExceptionSEpublic void flush()
throws IOExceptionSEFlushableSE の flushSE OutputStreamSE の flushSE IOExceptionSEpublic void close()
throws IOExceptionSECloseableSE の closeSE AutoCloseableSE の closeSE OutputStreamSE の closeSE IOExceptionSEpublic boolean isReady()
ServletOutputStreamEE の isReadyEE public void setWriteListener(WriteListenerEE writeListener)
ServletOutputStreamEE の setWriteListenerEE