Package org.elasticsearch.xcontent
Class MediaType.HeaderValue
- Enclosing interface:
- MediaType
public static class MediaType.HeaderValue
extends org.elasticsearch.core.Tuple<String,Map<String,String>>
A class to represent supported mediaType values i.e. application/json and parameters to be validated.
Parameters for validation is a map where a key is a parameter name, value is a parameter regex which is used for validation.
Regex will be applied with case insensitivity.
-
Constructor Summary
ConstructorsConstructorDescriptionHeaderValue(String headerValue) HeaderValue(String headerValue, Map<String, String> parametersForValidation) -
Method Summary
Methods inherited from class org.elasticsearch.core.Tuple
equals, hashCode, toString, tuple, v1, v2
-
Constructor Details
-
HeaderValue
-
HeaderValue
-