com.meterware.httpunit.cookies
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
 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

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


getHeaderFields

public 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.


Copyright © 2000-2008 Russell Gold. See license agreement for rights granted.