Class Overview
Delegating implementation of javax.servlet.ServletOutputStream.
Used by MockHttpServletResponse
; typically not directly
used for testing application controllers.
Summary
[Expand]
Inherited Methods |
From class
javax.servlet.ServletOutputStream
void
|
print(float arg0)
|
void
|
print(double arg0)
|
void
|
print(long arg0)
|
void
|
print(String arg0)
|
void
|
print(int arg0)
|
void
|
print(char arg0)
|
void
|
print(boolean arg0)
|
void
|
println()
|
void
|
println(float arg0)
|
void
|
println(String arg0)
|
void
|
println(char arg0)
|
void
|
println(int arg0)
|
void
|
println(long arg0)
|
void
|
println(double arg0)
|
void
|
println(boolean arg0)
|
|
From class
java.io.OutputStream
void
|
close()
|
void
|
flush()
|
void
|
write(byte[] arg0, int arg1, int arg2)
|
void
|
write(byte[] arg0)
|
abstract
void
|
write(int arg0)
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
java.io.Closeable
|
From interface
java.io.Flushable
|
Public Constructors
public
DelegatingServletOutputStream
(OutputStream targetStream)
Create a DelegatingServletOutputStream for the given target stream.
Parameters
targetStream
| the target stream (never null )
|
Public Methods
public
final
OutputStream
getTargetStream
()
Return the underlying target stream (never null
).
public
void
write
(int b)