public final class HttpHeadersUtil extends Object
HttpHeaders
or HTTP Headers.Modifier and Type | Method and Description |
---|---|
static void |
trace(org.slf4j.Logger log,
HttpHeaders httpHeaders)
Trace HTTP Headers.
|
static void |
trace(org.slf4j.Logger log,
Set<String> names,
Function<String,List<String>> getAllHeaders)
Trace HTTP Headers.
|
static void |
trace(org.slf4j.Logger log,
String name,
Function<String,List<String>> getAllHeaders)
Trace HTTP Headers.
|
public static void trace(@NonNull org.slf4j.Logger log, @NonNull HttpHeaders httpHeaders)
log
- LoggerhttpHeaders
- HTTP Headerspublic static void trace(@NonNull org.slf4j.Logger log, @NonNull Set<String> names, @NonNull Function<String,List<String>> getAllHeaders)
log
- Loggernames
- HTTP Header namesgetAllHeaders
- Function to get all the header values for a particular header name