Package io.undertow.servlet.spec
Class ServletPrintWriterDelegate
- java.lang.Object
-
- java.io.Writer
-
- java.io.PrintWriter
-
- io.undertow.servlet.spec.ServletPrintWriterDelegate
-
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
public final class ServletPrintWriterDelegate extends PrintWriter
- Author:
- Stuart Douglas
-
-
Field Summary
-
Fields inherited from class java.io.PrintWriter
out
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PrintWriter
append(char c)
PrintWriter
append(CharSequence csq)
PrintWriter
append(CharSequence csq, int start, int end)
boolean
checkError()
void
close()
void
flush()
PrintWriter
format(String format, Object... args)
PrintWriter
format(Locale l, String format, Object... args)
static ServletPrintWriterDelegate
newInstance(ServletPrintWriter servletPrintWriter)
void
print(boolean b)
void
print(char c)
void
print(char[] s)
void
print(double d)
void
print(float f)
void
print(int i)
void
print(long l)
void
print(Object obj)
void
print(String s)
PrintWriter
printf(String format, Object... args)
PrintWriter
printf(Locale l, String format, Object... args)
void
println()
void
println(boolean x)
void
println(char x)
void
println(char[] x)
void
println(double x)
void
println(float x)
void
println(int x)
void
println(long x)
void
println(Object x)
void
println(String x)
void
setServletPrintWriter(ServletPrintWriter servletPrintWriter)
void
write(char[] buf)
void
write(char[] buf, int off, int len)
void
write(int c)
void
write(String s)
void
write(String s, int off, int len)
-
Methods inherited from class java.io.PrintWriter
clearError, setError
-
Methods inherited from class java.io.Writer
nullWriter
-
-
-
-
Method Detail
-
newInstance
public static ServletPrintWriterDelegate newInstance(ServletPrintWriter servletPrintWriter)
-
setServletPrintWriter
public void setServletPrintWriter(ServletPrintWriter servletPrintWriter)
-
flush
public void flush()
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classPrintWriter
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classPrintWriter
-
checkError
public boolean checkError()
- Overrides:
checkError
in classPrintWriter
-
write
public void write(int c)
- Overrides:
write
in classPrintWriter
-
write
public void write(char[] buf, int off, int len)
- Overrides:
write
in classPrintWriter
-
write
public void write(char[] buf)
- Overrides:
write
in classPrintWriter
-
write
public void write(String s, int off, int len)
- Overrides:
write
in classPrintWriter
-
write
public void write(String s)
- Overrides:
write
in classPrintWriter
-
print
public void print(boolean b)
- Overrides:
print
in classPrintWriter
-
print
public void print(char c)
- Overrides:
print
in classPrintWriter
-
print
public void print(int i)
- Overrides:
print
in classPrintWriter
-
print
public void print(long l)
- Overrides:
print
in classPrintWriter
-
print
public void print(float f)
- Overrides:
print
in classPrintWriter
-
print
public void print(double d)
- Overrides:
print
in classPrintWriter
-
print
public void print(char[] s)
- Overrides:
print
in classPrintWriter
-
print
public void print(String s)
- Overrides:
print
in classPrintWriter
-
print
public void print(Object obj)
- Overrides:
print
in classPrintWriter
-
println
public void println()
- Overrides:
println
in classPrintWriter
-
println
public void println(boolean x)
- Overrides:
println
in classPrintWriter
-
println
public void println(char x)
- Overrides:
println
in classPrintWriter
-
println
public void println(int x)
- Overrides:
println
in classPrintWriter
-
println
public void println(long x)
- Overrides:
println
in classPrintWriter
-
println
public void println(float x)
- Overrides:
println
in classPrintWriter
-
println
public void println(double x)
- Overrides:
println
in classPrintWriter
-
println
public void println(char[] x)
- Overrides:
println
in classPrintWriter
-
println
public void println(String x)
- Overrides:
println
in classPrintWriter
-
println
public void println(Object x)
- Overrides:
println
in classPrintWriter
-
printf
public PrintWriter printf(String format, Object... args)
- Overrides:
printf
in classPrintWriter
-
printf
public PrintWriter printf(Locale l, String format, Object... args)
- Overrides:
printf
in classPrintWriter
-
format
public PrintWriter format(String format, Object... args)
- Overrides:
format
in classPrintWriter
-
format
public PrintWriter format(Locale l, String format, Object... args)
- Overrides:
format
in classPrintWriter
-
append
public PrintWriter append(CharSequence csq)
- Specified by:
append
in interfaceAppendable
- Overrides:
append
in classPrintWriter
-
append
public PrintWriter append(CharSequence csq, int start, int end)
- Specified by:
append
in interfaceAppendable
- Overrides:
append
in classPrintWriter
-
append
public PrintWriter append(char c)
- Specified by:
append
in interfaceAppendable
- Overrides:
append
in classPrintWriter
-
-