# Managed client simple sample

This sample shows using client injected by @Uri into the resource methods. The following table contains description of all accessible resource.

uri | http method | description
/index.html | GET | this page
/app/* |  | rest application is deployed under this path
/app/resource/* |  | standard sample resource with sub resource methods
./app/resource/dog | GET | resource (plain/text)
./app/resource/cat | GET | resource (plain/text)
./app/resource/elefant | GET | resource (plain/text)
./app/resource/car/{id} | GET | resource with path param (plain/text). {id} is a string path parameter. Example: ./app/resource/car/80
/app/client/* |  | Resource with sub resources that use injected clients to query sub resources of /app/resource/* and other resources
./app/client/glassfish | GET | Queries by GET http://glassfish.java.net and returns target html page.
./app/client/animals | GET | Queries ./app/resource/dog, ./app/resource/cat and ./app/resource/elefant and returns merged result
./app/client/car/{id} | GET | Queries /app/resource/car/{id} and returns result. {id} is a string path parameter. Example: ./app/resource/client/car/15