Package org.restlet.engine.header
Class WarningWriter
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
Warning header writer.
- Author:
- Thierry Boileau
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.restlet.engine.header.HeaderWriter
append, append, append, append, append, append, appendComment, appendExtension, appendExtension, appendParameterSeparator, appendProduct, appendQuotedPair, appendQuotedString, appendSpace, appendToken, appendUriEncoded, appendValueSeparator, canWriteMethods inherited from class java.io.StringWriter
append, close, flush, getBuffer, toString, write, write, write, writeMethods inherited from class java.io.Writer
nullWriter, write
-
Constructor Details
-
WarningWriter
public WarningWriter()
-
-
Method Details
-
write
Writes a warning.- Parameters:
warnings- The list of warnings to format.- Returns:
- The formatted warning.
-
append
Description copied from class:HeaderWriterAppends a value.- Specified by:
appendin classHeaderWriter<Warning>- Parameters:
warning- The value.- Returns:
- This writer.
-