Package com.netflix.explorers.rest

Examples of com.netflix.explorers.rest.RestKey


     * @throws Exception
     */
    @Path("rest/{version}/{endpoint}")
    public Object rest(@PathParam("version") String version, @PathParam("endpoint") String endpoint) throws Exception {
        if (restResources != null) {
            RestKey key = new RestKey(version, endpoint);
       
            Provider<RestResource> provider = restResources.get(key);
           
            if (provider == null) {
                throw new NotFoundException(String.format("No rest resource found for '%s:%s'", version, endpoint ));
View Full Code Here

TOP

Related Classes of com.netflix.explorers.rest.RestKey

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.