com.microsoft.tfs.core.httpclient
Class CookieCredentials

java.lang.Object
  extended by com.microsoft.tfs.core.httpclient.Credentials
      extended by com.microsoft.tfs.core.httpclient.CookieCredentials

public class CookieCredentials
extends Credentials

Credentials that are sent as Cookie headers.

Thread-safety:
unknown

Constructor Summary
CookieCredentials(Cookie[] cookies)
          Creates CookieCredentials from the given cookies.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 Cookie[] getCookies()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CookieCredentials

public CookieCredentials(Cookie[] cookies)
Creates CookieCredentials from the given cookies.

Parameters:
cookies - The Cookies to send with requests. (not null)
Method Detail

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.