diff --git a/codec-http/src/main/java/io/netty/handler/codec/http/HttpHeadersEncoder.java b/codec-http/src/main/java/io/netty/handler/codec/http/HttpHeadersEncoder.java index 888a829c4c..60f8b81ccc 100644 --- a/codec-http/src/main/java/io/netty/handler/codec/http/HttpHeadersEncoder.java +++ b/codec-http/src/main/java/io/netty/handler/codec/http/HttpHeadersEncoder.java @@ -26,7 +26,7 @@ final class HttpHeadersEncoder { private HttpHeadersEncoder() { } - public static void encoderHeader(CharSequence name, CharSequence value, ByteBuf buf) throws Exception { + static void encoderHeader(CharSequence name, CharSequence value, ByteBuf buf) throws Exception { final int nameLen = name.length(); final int valueLen = value.length(); final int entryLen = nameLen + valueLen + 4;