MethodDispatcher(MethodDispatcher md, ClassResourceInfo cri) { for (OperationResourceInfo ori : md.getOperationResourceInfos()) { OperationResourceInfo clone = new OperationResourceInfo(ori, cri); oriToMethod.put(clone, clone.getMethodToInvoke()); methodToOri.put(clone.getMethodToInvoke(), clone); } }
MethodDispatcher(MethodDispatcher md, ClassResourceInfo cri) { for (OperationResourceInfo ori : md.getOperationResourceInfos()) { OperationResourceInfo clone = new OperationResourceInfo(ori, cri); oriToMethod.put(clone, clone.getMethodToInvoke()); methodToOri.put(clone.getMethodToInvoke(), clone); } }
private static OperationResourceInfo createOperationInfo(Method m, Method annotatedMethod, ClassResourceInfo cri, Path path, String httpMethod) { OperationResourceInfo ori = new OperationResourceInfo(m, annotatedMethod, cri); URITemplate t = URITemplate.createTemplate(path); ori.setURITemplate(t); ori.setHttpMethod(httpMethod); return ori; }
private static OperationResourceInfo createOperationInfo(Method m, Method annotatedMethod, ClassResourceInfo cri, Path path, String httpMethod) { OperationResourceInfo ori = new OperationResourceInfo(m, annotatedMethod, cri); URITemplate t = URITemplate.createTemplate(path); ori.setURITemplate(t); ori.setHttpMethod(httpMethod); return ori; }
new OperationResourceInfo(actualMethod, cri, URITemplate.createTemplate(op.getPath()), op.getVerb(), op.getConsumes(), op.getProduces(), op.getParameters(),
new OperationResourceInfo(m, cri, URITemplate.createTemplate(op.getPath()), op.getVerb(), op.getConsumes(), op.getProduces(), op.getParameters(),