Get headers with JavaClient now