| java.lang.Object | |||
| ↳ | java.io.InputStream | ||
| ↳ | javax.servlet.ServletInputStream | ||
| ↳ | org.springframework.mock.web.DelegatingServletInputStream | ||
Delegating implementation of javax.servlet.ServletInputStream.
Used by MockHttpServletRequest; typically not directly
used for testing application controllers.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create a DelegatingServletInputStream for the given source stream.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Return the underlying source stream (never
null). | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
javax.servlet.ServletInputStream
| |||||||||||
From class
java.io.InputStream
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.io.Closeable
| |||||||||||
Create a DelegatingServletInputStream for the given source stream.
| sourceStream | the source stream (never null)
|
|---|