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").

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

              Created:
              Updated:
              Imported:
              Indexed: