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.WriterDeprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
-
-
Field Summary
Fields Modifier and Type Field Description static intMAX_OUTPUT_CHARSDeprecated.
-
Constructor Summary
Constructors Constructor Description HttpWriter(HttpOutput out)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclose()Deprecated.voidcomplete(Callback callback)Deprecated.voidflush()Deprecated.voidwrite(char[] s, int offset, int length)Deprecated.voidwrite(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.IOExceptionDeprecated.- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Specified by:
closein classjava.io.Writer- Throws:
java.io.IOException
-
complete
public void complete(Callback callback)
Deprecated.
-
flush
public void flush() throws java.io.IOExceptionDeprecated.- Specified by:
flushin interfacejava.io.Flushable- Specified by:
flushin classjava.io.Writer- Throws:
java.io.IOException
-
write
public void write(java.lang.String s, int offset, int length) throws java.io.IOExceptionDeprecated.- Overrides:
writein classjava.io.Writer- Throws:
java.io.IOException
-
write
public void write(char[] s, int offset, int length) throws java.io.IOExceptionDeprecated.- Specified by:
writein classjava.io.Writer- Throws:
java.io.IOException
-
-