Package org.restlet.engine.header
Class MethodWriter
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
Method 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
-
MethodWriter
public MethodWriter()
-
-
Method Details
-
write
Writes a set of methods with a comma separator.- Parameters:
methods- The set of methods.- Returns:
- The formatted set of methods.
-
append
Description copied from class:HeaderWriterAppends a value.- Specified by:
appendin classHeaderWriter<Method>- Parameters:
method- The value.- Returns:
- This writer.
-