public final class AsciiHeadersEncoder extends Object implements TextHeaders.EntryVisitor
Modifier and Type | Class and Description |
---|---|
static class |
AsciiHeadersEncoder.NewlineType
The newline characters to insert between header entries.
|
static class |
AsciiHeadersEncoder.SeparatorType
The separator characters to insert between a header name and a header value.
|
Constructor and Description |
---|
AsciiHeadersEncoder(ByteBuf buf) |
AsciiHeadersEncoder(ByteBuf buf,
AsciiHeadersEncoder.SeparatorType separatorType,
AsciiHeadersEncoder.NewlineType newlineType) |
public AsciiHeadersEncoder(ByteBuf buf)
public AsciiHeadersEncoder(ByteBuf buf, AsciiHeadersEncoder.SeparatorType separatorType, AsciiHeadersEncoder.NewlineType newlineType)
public boolean visit(Map.Entry<CharSequence,CharSequence> entry) throws Exception
visit
in interface Headers.EntryVisitor<CharSequence>
true
if the processor wants to continue the loop and handle the entry.false
if the processor wants to stop handling headers and abort the loop.Exception
Copyright © 2008–2015 The Netty Project. All rights reserved.