Thursday 31 July 2014

long getDateHeader(String name)

Returns the value of the specified request header as a long value that represents a Date object. Use this method with headers that contain dates, such as If-Modified-Since. If the header can't be converted to a date, the method throws an IllegalArgumentException.If the request did not have a header of the specified name, this method returns -1


Prevoius                                                 Next                                                 Home

No comments:

Post a Comment