Class ServletOutputStreamWrapper
java.lang.Object
java.io.OutputStream
jakarta.servlet.ServletOutputStream
org.eclipse.jetty.ee10.servlet.util.ServletOutputStreamWrapper
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
public class ServletOutputStreamWrapper
extends jakarta.servlet.ServletOutputStream
-
Constructor Summary
ConstructorDescriptionServletOutputStreamWrapper
(jakarta.servlet.ServletOutputStream outputStream) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
flush()
boolean
isReady()
static OutputStream
void
print
(boolean b) void
print
(char c) void
print
(double d) void
print
(float f) void
print
(int i) void
print
(long l) void
void
println()
void
println
(boolean b) void
println
(char c) void
println
(double d) void
println
(float f) void
println
(int i) void
println
(long l) void
void
setWriteListener
(jakarta.servlet.WriteListener writeListener) void
write
(byte[] b) void
write
(byte[] b, int off, int len) void
write
(int b)
-
Constructor Details
-
ServletOutputStreamWrapper
public ServletOutputStreamWrapper(jakarta.servlet.ServletOutputStream outputStream)
-
-
Method Details
-
print
- Overrides:
print
in classjakarta.servlet.ServletOutputStream
- Throws:
IOException
-
print
- Overrides:
print
in classjakarta.servlet.ServletOutputStream
- Throws:
IOException
-
print
- Overrides:
print
in classjakarta.servlet.ServletOutputStream
- Throws:
IOException
-
print
- Overrides:
print
in classjakarta.servlet.ServletOutputStream
- Throws:
IOException
-
print
- Overrides:
print
in classjakarta.servlet.ServletOutputStream
- Throws:
IOException
-
print
- Overrides:
print
in classjakarta.servlet.ServletOutputStream
- Throws:
IOException
-
print
- Overrides:
print
in classjakarta.servlet.ServletOutputStream
- Throws:
IOException
-
println
- Overrides:
println
in classjakarta.servlet.ServletOutputStream
- Throws:
IOException
-
println
- Overrides:
println
in classjakarta.servlet.ServletOutputStream
- Throws:
IOException
-
println
- Overrides:
println
in classjakarta.servlet.ServletOutputStream
- Throws:
IOException
-
println
- Overrides:
println
in classjakarta.servlet.ServletOutputStream
- Throws:
IOException
-
println
- Overrides:
println
in classjakarta.servlet.ServletOutputStream
- Throws:
IOException
-
println
- Overrides:
println
in classjakarta.servlet.ServletOutputStream
- Throws:
IOException
-
println
- Overrides:
println
in classjakarta.servlet.ServletOutputStream
- Throws:
IOException
-
println
- Overrides:
println
in classjakarta.servlet.ServletOutputStream
- Throws:
IOException
-
isReady
public boolean isReady()- Specified by:
isReady
in classjakarta.servlet.ServletOutputStream
-
setWriteListener
public void setWriteListener(jakarta.servlet.WriteListener writeListener) - Specified by:
setWriteListener
in classjakarta.servlet.ServletOutputStream
-
nullOutputStream
-
write
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
- Throws:
IOException
-