151152153154155156157158159160161
} else { builder.from(client.listRunningApplications(type)); } if (headers != null) { for (Entry<String, String> entry : headers.entrySet()) { builder.header(entry.getKey(), entry.getValue()); } } return builder.build().toString(); }