add sample for jdk http