Code example for HttpHead

0
 
public class HeadHttpClientTask extends AbstractHttpClientTask { 
 
    @Override 
    protected HttpUriRequest buildRequest(URI u) { 
        return new HttpHead(u); 
    } 
} 
Connect your IDE to all the code out there  Get Codota for Java