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
 Cookie[] getCookies()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, 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


© 2012 Microsoft. All rights reserved.