org.jclouds.vcloud.filters
Class SetVCloudTokenCookie
java.lang.Object
org.jclouds.vcloud.filters.SetVCloudTokenCookie
- All Implemented Interfaces:
- HttpRequestFilter
@Singleton
public class SetVCloudTokenCookie
- extends Object
- implements HttpRequestFilter
Adds the VCloud Token to the request as a cookie
- Author:
- Adrian Cole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SetVCloudTokenCookie
@Inject
public SetVCloudTokenCookie(javax.inject.Provider<String> authTokenProvider)
filter
public HttpRequest filter(HttpRequest request)
throws HttpException
- Specified by:
filter
in interface HttpRequestFilter
- Throws:
HttpException
Copyright © 2009-2011 jclouds. All Rights Reserved.