List of usage examples for java.net URLConnection getHeaderFieldLong
public long getHeaderFieldLong(String name, long Default)
From source file:Main.java
public static void main(String args[]) throws Exception { URL url = new URL("http://www.google.com"); URLConnection httpCon = (URLConnection) url.openConnection(); long s = httpCon.getHeaderFieldLong("longKey", 1L); }