Package org.restlet.engine.header
Class TagWriter
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
Tag header writer.
- Author:
- Jerome Louvel
-
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
-
TagWriter
public TagWriter()
-
-
Method Details
-
write
Writes a list of tags.- Parameters:
tags- The tags to write.- Returns:
- This writer.
-
write
Writes a tag.- Parameters:
tag- The tag to write.- Returns:
- This writer.
-
append
Description copied from class:HeaderWriterAppends a value.- Specified by:
appendin classHeaderWriter<Tag>- Parameters:
tag- The value.- Returns:
- This writer.
-