Interface CookieSource

  • All Known Implementing Classes:
    WebResponse

    public interface CookieSource
    This interface represents a source from which to parse out cookies.
    Author:
    Russell Gold
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String[] getHeaderFields​(java.lang.String fieldName)
      Returns the values for the specified header field.
      java.net.URL getURL()
      Returns the URL which invoked this response.
    • Method Detail

      • getURL

        java.net.URL getURL()
        Returns the URL which invoked this response.
      • getHeaderFields

        java.lang.String[] getHeaderFields​(java.lang.String fieldName)
        Returns the values for the specified header field. If no such field is defined, will return an empty array.