Returns the value of the expires header field for the object referred to by the specified url connection object.
Syntax
getExpiration( urlconnection )
urlconnection.getExpiration( )
Parameters
urlconnection
|
the url connection object to use.
|
Returns
long
|
the current value of the expires header field, the number of seconds since January 1, 1970 GMT.
0 if not known
|
Example
exp = ucon.getExpiration( )
|