public class DelegatingServletInputStream extends ServletInputStreamEE
ServletInputStreamEE の実装の委譲。MockHttpServletRequest で使用されます。通常、アプリケーションコントローラーのテストには直接使用されません。
MockHttpServletRequest| コンストラクターと説明 |
|---|
DelegatingServletInputStream(InputStreamSE sourceStream) 指定されたソースストリームの DelegatingServletInputStream を作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
int | available() |
void | close() |
InputStreamSE | getSourceStream() 基になるソースストリームを返します( null は決してしないでください)。 |
boolean | isFinished() |
boolean | isReady() |
int | read() |
void | setReadListener(ReadListenerEE readListener) |
readLineEEmarkSE, markSupportedSE, readSE, readSE, resetSE, skipSEcloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic DelegatingServletInputStream(InputStreamSE sourceStream)
sourceStream - ソースストリーム (非 null)public final InputStreamSE getSourceStream()
null は決してしないでください)。public int read()
throws IOExceptionSEInputStreamSE の readSE IOExceptionSEpublic int available()
throws IOExceptionSEInputStreamSE の availableSE IOExceptionSEpublic void close()
throws IOExceptionSECloseableSE の closeSE AutoCloseableSE の closeSE InputStreamSE の closeSE IOExceptionSEpublic boolean isFinished()
ServletInputStreamEE の isFinishedEE public boolean isReady()
ServletInputStreamEE の isReadyEE public void setReadListener(ReadListenerEE readListener)
ServletInputStreamEE の setReadListenerEE