Class ApiVersionFilter
- java.lang.Object
-
- org.jclouds.azurecompute.arm.filters.ApiVersionFilter
-
- All Implemented Interfaces:
HttpRequestFilter
public class ApiVersionFilter extends Object implements HttpRequestFilter
Allow users to customize the api versions for each method call.In Azure ARM, each method may have its own api version. This filter allows to configure the versions of each method, so there is no need to change the code when Azure deprecates old versions.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpRequest
filter(HttpRequest request)
-
-
-
Method Detail
-
filter
public HttpRequest filter(HttpRequest request) throws HttpException
- Specified by:
filter
in interfaceHttpRequestFilter
- Throws:
HttpException
-
-