org.restlet.engine.header
Class RecipientInfoWriter
java.lang.Object
java.io.Writer
java.io.StringWriter
org.restlet.engine.header.HeaderWriter<RecipientInfo>
org.restlet.engine.header.RecipientInfoWriter
- All Implemented Interfaces:
- Closeable, Flushable, Appendable
public class RecipientInfoWriter
- extends HeaderWriter<RecipientInfo>
Recipient info header writer.
- Author:
- Jerome Louvel
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, canWrite |
RecipientInfoWriter
public RecipientInfoWriter()
write
public static String write(List<RecipientInfo> recipientsInfo)
- Creates a via header from the given recipients info.
- Parameters:
recipientsInfo
- The recipients info.
- Returns:
- Returns the Via header.
append
public RecipientInfoWriter append(RecipientInfo recipientInfo)
- Description copied from class:
HeaderWriter
- Appends a value.
- Specified by:
append
in class HeaderWriter<RecipientInfo>
- Parameters:
recipientInfo
- The value.
- Returns:
- This writer.
Copyright © 2005-2013 Restlet.