Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4635702

java.net.URLConnection.getExpiration() documentation could be more elaborate

XMLWordPrintable

    • sparc
    • solaris

      java.net.URLConnection.getExpiration() documentation could be more elaborate.

      API documentation doesnt specify clearly about the case when server sends "expires" header field with some invalid date which can not be parsed. In this case getExpiration() returns 0 . But this field can be accessed directly with getHeaderField("expires").

            Unassigned Unassigned
            vakellasunw Venkata Akella (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: