> +    * @param containerId The id of the container to be unpaused.
> +    */
> +   @Named("container:unpause")
> +   @POST
> +   @Path("/containers/{id}/unpause")
> +   void unpause(@PathParam("id") String containerId);
> +
> +   /**
> +    * Attach to a container
> +    *
> +    * @param containerId The id of the container to be attached.
> +    */
> +   @Named("container:attach")
> +   @POST
> +   @Path("/containers/{id}/attach")
> +   InputStream attach(@PathParam("id") String containerId);

InputStream is more generic and it seems better to cover all the combinations 
specified 
[there](https://docs.docker.com/reference/api/docker_remote_api_v1.15/#attach-to-a-container)

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

Reply via email to