Package org.restlet.resource

Examples of org.restlet.resource.ServerResource


         path += "index.html";
      }
      if (getLogger().isLoggable(Level.FINE)) {
         getLogger().fine("path="+path);
      }
      ServerResource r = new ClassResource(classLoader,path);
      return r;
   }
View Full Code Here


   }
  
   public ServerResource find(Request request,Response response)
   {
      String path = packageName+request.getResourceRef().getRemainingPart();
      ServerResource r = new ClassResource(baseClass,path);
      r.setRequest(request);
      r.setResponse(response);
      return r;
   }
View Full Code Here

TOP

Related Classes of org.restlet.resource.ServerResource

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.