Mechanics of encapsulated droplets