public class CacheDirectiveWriter extends HeaderWriter<CacheDirective>
Constructor and Description |
---|
CacheDirectiveWriter() |
Modifier and Type | Method and Description |
---|---|
CacheDirectiveWriter |
append(CacheDirective directive)
Appends a value.
|
static java.lang.String |
write(java.util.List<CacheDirective> directives)
Writes a list of cache directives with a comma separator.
|
append, append, append, append, append, append, appendComment, appendExtension, appendExtension, appendParameterSeparator, appendProduct, appendQuotedPair, appendQuotedString, appendSpace, appendToken, appendUriEncoded, appendValueSeparator, canWrite
public static java.lang.String write(java.util.List<CacheDirective> directives)
directives
- The list of cache directives.public CacheDirectiveWriter append(CacheDirective directive)
HeaderWriter
append
in class HeaderWriter<CacheDirective>
directive
- The value.Copyright © 2005-2020 Restlet.