public <T> Entity<T> json(T entity) { return entity(entity, "application/json"); }
public <T> Entity<T> json(T entity) { return entity(entity, "application/json"); }
public <T> Entity<T> json(T entity) { return entity(entity, "application/json"); }
public <T> Entity<T> json(T entity) { return entity(entity, "application/json"); }
public <T> Entity<T> json(T entity) { return entity(entity, "application/json"); }
if(request.entity() != null && request.entity().getContentType() != null) { headers.add("Content-Type", request.entity().getContentType()); } else { headers.add("Content-Type", "application/json"); if (request.entity() != null && request.entity().getEntity() != null) { response = target.getHeadHandler().handle(new ClientRequestImpl(target.getURI(), request.method().name(), request.entity().getEntity(), headers)); } else { response = target.getHeadHandler().handle(new ClientRequestImpl(target.getURI(), request.method().name(), null, headers));
if(request.entity() != null && request.entity().getContentType() != null) { headers.add("Content-Type", request.entity().getContentType()); } else { headers.add("Content-Type", "application/json"); if (request.entity() != null && request.entity().getEntity() != null) { response = target.getHeadHandler().handle(new ClientRequestImpl(target.getURI(), request.method().name(), request.entity().getEntity(), headers)); } else { response = target.getHeadHandler().handle(new ClientRequestImpl(target.getURI(), request.method().name(), null, headers));
if (request.entity() != null && request.entity().getContentType() != null) { headers.add("Content-Type", request.entity().getContentType()); } else { headers.add("Content-Type", "application/json"); if (request.entity() != null && request.entity().getEntity() != null) { response = target.getHeadHandler().handle( new ClientRequestImpl(target.getURI(), request.method().name(), request.entity().getEntity(), headers)); } else {