public class HttpHeaderUtil extends Object
| Constructor and Description |
|---|
HttpHeaderUtil() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends io.vertx.core.MultiMap> |
getHeaderValue(T headers,
String headerKey)
Helper method to find the first occurrence of a http header within the given List of headers.
|
static <T extends io.vertx.core.MultiMap> |
removeNonForwardHeaders(T headers)
Removes headers which MUST NOT be forwarded by proxies.
|
public static <T extends io.vertx.core.MultiMap> T removeNonForwardHeaders(T headers)
Removes headers which MUST NOT be forwarded by proxies.
headers - The headers to check.public static <T extends io.vertx.core.MultiMap> String getHeaderValue(T headers, String headerKey)
headers - The Map with the header key - value pairs to be evaluatedheaderKey - The key for the header pair we are searching for in the given map. Note that
the key searching is non case sensitive.Copyright © 2016–2021. All rights reserved.