Пример #1
0
 private Guard guard(Class<? extends Resource> resource) {
   Guard guard = createGuard();
   guard.setNext(resource);
   return guard;
 }
Пример #2
0
 private Guard guard(Restlet resource) {
   Guard guard = createGuard();
   guard.setNext(resource);
   return guard;
 }