Package org.restlet.engine.header
Class RecipientInfoWriter
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
Recipient info header writer.
- Author:
- Jerome Louvel
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(RecipientInfo recipientInfo) Appends a value.static Stringwrite(List<RecipientInfo> recipientsInfo) Creates a via header from the given recipients info.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
-
RecipientInfoWriter
public RecipientInfoWriter()
-
-
Method Details
-
write
Creates a via header from the given recipients info.- Parameters:
recipientsInfo- The recipients info.- Returns:
- Returns the Via header.
-
append
Description copied from class:HeaderWriterAppends a value.- Specified by:
appendin classHeaderWriter<RecipientInfo>- Parameters:
recipientInfo- The value.- Returns:
- This writer.
-