> + */
> +@RequestFilters(AuthenticateRequest.class)
> +@Path("/v2/images")
> +public interface ImageApi {
> +
> + /**
> + * List all images (all details)
> + *
> + * @return all images (all details)
> + */
> + @GET
> + @Consumes(APPLICATION_JSON)
> + @ResponseParser(ParseImages.class)
> + @Transform(ParseImages.ToPagedIterable.class)
> + @Fallback(EmptyPagedIterableOnNotFoundOr404.class)
> + PagedIterable<? extends Image> list();
You can configure specific timeouts with the properties you pass when building
the context. You can have something like:
```java
// If the method does not have the '@Named' annotation (old style and breaks if
the method is renamed)
props.setProperty("jclouds.timeouts.ImageApi.list", "timeout in ms");
// If the method is annotated with '@Named("ImageList")'
props.setProperty("jclouds.timeouts.ImageList", "timeout in ms");
```
The
[ReadAnnotationsAndProperties](https://github.com/jclouds/jclouds/blob/master/core/src/main/java/org/jclouds/rest/config/ReadAnnotationsAndProperties.java)
class is the responsible of reading and applying the timeout configuration.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/77/files#r9113963