Package org.eclipse.jetty.server
Class HttpWriter
- java.lang.Object
-
- java.io.Writer
-
- org.eclipse.jetty.server.HttpWriter
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.Appendable
,java.lang.AutoCloseable
- Direct Known Subclasses:
EncodingHttpWriter
,Iso88591HttpWriter
,Utf8HttpWriter
@Deprecated(since="2021-05-27") public abstract class HttpWriter extends java.io.Writer
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
-
-
Field Summary
Fields Modifier and Type Field Description static int
MAX_OUTPUT_CHARS
Deprecated.
-
Constructor Summary
Constructors Constructor Description HttpWriter(HttpOutput out)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
close()
Deprecated.void
complete(Callback callback)
Deprecated.void
flush()
Deprecated.void
write(char[] s, int offset, int length)
Deprecated.void
write(java.lang.String s, int offset, int length)
Deprecated.
-
-
-
Field Detail
-
MAX_OUTPUT_CHARS
public static final int MAX_OUTPUT_CHARS
Deprecated.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HttpWriter
public HttpWriter(HttpOutput out)
Deprecated.
-
-
Method Detail
-
close
public void close() throws java.io.IOException
Deprecated.- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Specified by:
close
in classjava.io.Writer
- Throws:
java.io.IOException
-
complete
public void complete(Callback callback)
Deprecated.
-
flush
public void flush() throws java.io.IOException
Deprecated.- Specified by:
flush
in interfacejava.io.Flushable
- Specified by:
flush
in classjava.io.Writer
- Throws:
java.io.IOException
-
write
public void write(java.lang.String s, int offset, int length) throws java.io.IOException
Deprecated.- Overrides:
write
in classjava.io.Writer
- Throws:
java.io.IOException
-
write
public void write(char[] s, int offset, int length) throws java.io.IOException
Deprecated.- Specified by:
write
in classjava.io.Writer
- Throws:
java.io.IOException
-
-