public ResourceInvoker match(HttpRequest request, int start) { return root.match(request, start).match(request, start); }
public ResourceInvoker getResourceInvoker(HttpRequest request) { try { String currentUri = ((ResteasyUriInfo)request.getUri()).getEncodedMatchedPaths().get(0); int startAt = currentUri.length(); return root.match(request, startAt); } catch (RuntimeException e) { throw e; } } }
/** * Find a resource to invoke on. * * @return resource invoker */ public ResourceInvoker getResourceInvoker(HttpRequest request) { RESTEasyTracingLogger tracingLogger = RESTEasyTracingLogger.getInstance(request); final long timestamp = tracingLogger.timestamp("MATCH_SUMMARY"); try { if (widerMatching) { return rootNode.match(request, 0); } else { return root.match(request, 0); } } catch (RuntimeException e) { throw e; } finally { tracingLogger.logDuration("MATCH_SUMMARY", timestamp); } } }
public ResourceInvoker match(HttpRequest request, int start) { return root.match(request, start).match(request, start); }
public ResourceInvoker match(HttpRequest request, int start) { return root.match(request, start).match(request, start); }
/** * Find a resource to invoke on * * @return */ public ResourceInvoker getResourceInvoker(HttpRequest request) { try { if (widerMatching) return rootNode.match(request, 0); else return root.match(request, 0); } catch (RuntimeException e) { throw e; } } }
public ResourceInvoker getResourceInvoker(HttpRequest request) { try { String currentUri = ((ResteasyUriInfo)request.getUri()).getEncodedMatchedPaths().get(0); int startAt = currentUri.length(); return root.match(request, startAt); } catch (RuntimeException e) { throw e; } } }
public ResourceInvoker getResourceInvoker(HttpRequest request) { try { String currentUri = request.getUri().getEncodedMatchedPaths().get(0); int startAt = currentUri.length(); return root.match(request, startAt); } catch (RuntimeException e) { throw e; } } }
/** * Find a resource to invoke on. * * @return resource invoker */ public ResourceInvoker getResourceInvoker(HttpRequest request) { RESTEasyTracingLogger tracingLogger = RESTEasyTracingLogger.getInstance(request); final long timestamp = tracingLogger.timestamp("MATCH_SUMMARY"); try { if (widerMatching) { return rootNode.match(request, 0); } else { return root.match(request, 0); } } catch (RuntimeException e) { throw e; } finally { tracingLogger.logDuration("MATCH_SUMMARY", timestamp); } } }