Java Servlets
//returns the value if it is a string, or null if none public String HttpServletRequest.getHeader(String name); //returns the value as long, -1 if not present, //or throws IllegalArgumentException public long HttpServletRequest.getDateHeader(String name); //returns it as int, -1 if not present, // or throws NumberFormatException public int HttpServletRequest.getIntHeader(String name);
31 of 89