public void invoke(Request request,PatternPathRouter.RoutableDestination<HttpResourceModel> destination) throws Exception {
  Object returnVal=method.invoke(handler,args);
  returnVal=invokeSubResource(request,destination,returnVal);
  responder.setEntity(returnVal);
  responder.send();
}

public void invoke ( Request request , PatternPathRouter . RoutableDestination < HttpResourceModel > destination ) throws Exception { Object returnVal = method . invoke ( handler , args ) ; returnVal = invokeSubResource ( request , destination , returnVal ) ; responder . setEntity ( returnVal ) ; responder . send ( ) ; }
calls the http resource method .
