public class HeaderHelper extends Object
| Constructor and Description |
|---|
HeaderHelper() |
| Modifier and Type | Method and Description |
|---|---|
static Serializable |
deserializeSafeFromHeader(org.elasticsearch.common.util.concurrent.ThreadContext context,
String headerName) |
static String |
getSafeFromHeader(org.elasticsearch.common.util.concurrent.ThreadContext context,
String headerName) |
static boolean |
isDirectRequest(org.elasticsearch.common.util.concurrent.ThreadContext context) |
static boolean |
isInterClusterRequest(org.elasticsearch.common.util.concurrent.ThreadContext context) |
public static boolean isInterClusterRequest(org.elasticsearch.common.util.concurrent.ThreadContext context)
public static boolean isDirectRequest(org.elasticsearch.common.util.concurrent.ThreadContext context)
public static String getSafeFromHeader(org.elasticsearch.common.util.concurrent.ThreadContext context, String headerName)
public static Serializable deserializeSafeFromHeader(org.elasticsearch.common.util.concurrent.ThreadContext context, String headerName)
Copyright © 2015–2016. All rights reserved.