Taken from this link
Client client = Client.create();
WebResource webResource = client.resource(restURL).path("myresource/{param}");
# | |
# multipass.zsh | |
# | |
# A wrapper to pass (password-store) for managing multiple | |
# store paths with a single command while still benefiting | |
# from Zsh's completion features. | |
# | |
# Usage: add the following lines to your .zshrc: | |
# source /path/to/multipass.zsh | |
# PASSWORD_STORES[pass1]=/path/to/pass1-store |
Taken from this link
Client client = Client.create();
WebResource webResource = client.resource(restURL).path("myresource/{param}");