if there is any content then call applyparser with the parser , otherwise do nothing . concode_field_sep String rawPath concode_elem_sep NamedXContentRegistry xContentRegistry concode_elem_sep Map<String,String> params concode_elem_sep Set<String> consumedParams concode_field_sep List<String> unconsumedParams concode_elem_sep int paramAsInt concode_elem_sep BytesReference content concode_elem_sep SocketAddress getLocalAddress concode_elem_sep TimeValue paramAsTime concode_elem_sep String path concode_elem_sep String rawPath concode_elem_sep String[] paramAsStringArrayOrEmptyIfAll concode_elem_sep String param concode_elem_sep String param concode_elem_sep boolean paramAsBoolean concode_elem_sep Boolean paramAsBoolean concode_elem_sep void withContentOrSourceParamParserOrNull concode_elem_sep boolean hasParam concode_elem_sep XContentParser contentParser concode_elem_sep ByteSizeValue paramAsSize concode_elem_sep boolean hasContentOrSourceParam concode_elem_sep XContentParser contentOrSourceParamParser concode_elem_sep float paramAsFloat concode_elem_sep Iterable<Map.Entry<String,String>> headers concode_elem_sep List<String> consumedParams concode_elem_sep long paramAsLong concode_elem_sep Method method concode_elem_sep boolean hasContent concode_elem_sep SocketAddress getRemoteAddress concode_elem_sep BytesReference contentOrSourceParam concode_elem_sep NamedXContentRegistry getXContentRegistry concode_elem_sep Map<String,String> params concode_elem_sep String[] paramAsStringArray concode_elem_sep String uri concode_elem_sep String header
void function ( CheckedConsumer < XContentParser , IOException > arg0 ) { if ( hasContent ( ) ) { try ( XContentParser loc0 = contentParser ( ) ) { arg0 . accept ( loc0 ) ; } } }