Package org.jclouds.openstack.filters
Class AddTimestampQuery
- java.lang.Object
-
- org.jclouds.openstack.filters.AddTimestampQuery
-
- All Implemented Interfaces:
HttpRequestFilter
@Singleton public class AddTimestampQuery extends Object implements HttpRequestFilter
Adds a timestamp to the query line so that cache is invalidated.
-
-
Constructor Summary
Constructors Constructor Description AddTimestampQuery(com.google.common.base.Supplier<Date> dateProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpRequest
filter(HttpRequest request)
-
-
-
Constructor Detail
-
AddTimestampQuery
@Inject public AddTimestampQuery(com.google.common.base.Supplier<Date> dateProvider)
-
-
Method Detail
-
filter
public HttpRequest filter(HttpRequest request) throws HttpException
- Specified by:
filter
in interfaceHttpRequestFilter
- Throws:
HttpException
-
-