diff --git a/modules/transport-netty4/src/main/java/org/opensearch/http/netty4/ssl/SecureNetty4HttpServerTransport.java b/modules/transport-netty4/src/main/java/org/opensearch/http/netty4/ssl/SecureNetty4HttpServerTransport.java index d5925fc94f0d1..978c92870bd75 100644 --- a/modules/transport-netty4/src/main/java/org/opensearch/http/netty4/ssl/SecureNetty4HttpServerTransport.java +++ b/modules/transport-netty4/src/main/java/org/opensearch/http/netty4/ssl/SecureNetty4HttpServerTransport.java @@ -67,7 +67,7 @@ * @see SecuritySSLNettyHttpServerTransport */ public class SecureNetty4HttpServerTransport extends Netty4HttpServerTransport { - public static final String HEADER_VERIFIER = "HeaderVerifier"; + public static final String REQUEST_HEADER_VERIFIER = "HeaderVerifier"; public static final String REQUEST_DECOMPRESSOR = "RequestDecompressor"; private static final Logger logger = LogManager.getLogger(SecureNetty4HttpServerTransport.class); @@ -108,7 +108,7 @@ public SecureNetty4HttpServerTransport( settings ) .stream() - .filter(p -> HEADER_VERIFIER.equalsIgnoreCase(p.name())) + .filter(p -> REQUEST_HEADER_VERIFIER.equalsIgnoreCase(p.name())) .map(p -> p.create(settings, this, ChannelInboundHandlerAdapter.class)) .filter(Optional::isPresent) .map(Optional::get)