(Map<String, Collection<String>> headers)
| 109 | } |
| 110 | |
| 111 | private String locale(Map<String, Collection<String>> headers) { |
| 112 | if (!headers.containsKey(HttpHeaders.CONTENT_LANGUAGE)) return null; |
| 113 | |
| 114 | return headers.get(HttpHeaders.CONTENT_LANGUAGE).iterator().next(); |
| 115 | } |
| 116 | |
| 117 | private MediaType mediaType(Map<String, Collection<String>> headers) { |
| 118 | if (!headers.containsKey(HttpHeaders.CONTENT_TYPE)) return null; |
no test coverage detected