> @@ -80,6 +80,23 @@
>     @Fallback(NullOnNotFoundOr404.class)
>     @Path("/")
>     @Nullable
> +   ObjectList list();
> +
> +   /**
> +    * Lists up to 10,000 objects.
> +    * 
> +    * @param options  
> +    *           the {@link ListContainerOptions} for controlling the 
> returned list.
> +    * 
> +    * @return an {@link ObjectList} of {@link SwiftObject} ordered by name 
> or {@code null}.
> +    */
> +   @Named("object:list")
> +   @GET
> +   @QueryParams(keys = "format", values = "json")
> +   @ResponseParser(ParseObjectListFromResponse.class)
> +   @Fallback(NullOnNotFoundOr404.class)

ObjectList is an object, so returning null here was appropriate. We could 
revisit this later since the APIs are beta.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/89/files#r11250118

Reply via email to