Package org.eclipse.jetty.server
Class HttpWriter
- java.lang.Object
-
- java.io.Writer
-
- org.eclipse.jetty.server.HttpWriter
-
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
- Direct Known Subclasses:
EncodingHttpWriter
,Iso88591HttpWriter
,Utf8HttpWriter
@Deprecated(since="2021-05-27") public abstract class HttpWriter extends 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(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 IOException
Deprecated.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classWriter
- Throws:
IOException
-
complete
public void complete(Callback callback)
Deprecated.
-
flush
public void flush() throws IOException
Deprecated.- Specified by:
flush
in interfaceFlushable
- Specified by:
flush
in classWriter
- Throws:
IOException
-
write
public void write(String s, int offset, int length) throws IOException
Deprecated.- Overrides:
write
in classWriter
- Throws:
IOException
-
write
public void write(char[] s, int offset, int length) throws IOException
Deprecated.- Specified by:
write
in classWriter
- Throws:
IOException
-
-