com.microsoft.tfs.core.httpclient
Class CookieCredentials
java.lang.Object
com.microsoft.tfs.core.httpclient.Credentials
com.microsoft.tfs.core.httpclient.CookieCredentials
public class CookieCredentials
- extends Credentials
Credentials that are sent as Cookie headers.
- Thread-safety:
- unknown
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
CookieCredentials
public CookieCredentials(Cookie[] cookies)
- Creates
CookieCredentials
from the given cookies.
- Parameters:
cookies
- The Cookie
s to send with requests. (not null
)
getCookies
public Cookie[] getCookies()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
hashCode
public int hashCode()
- Specified by:
hashCode
in class Credentials
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in class Credentials
© 2015 Microsoft. All rights reserved.