!EXPERIMENTAL! This stuff is experimental. Which means it may change significantly in future versions.
Responsible for discovering a resource which will be used as a response body. Discovery happens based on URI and and request method.
6869707172737475767778
/** * Checks HTTP method, URI and enables AutoDiscovery */ private static ConditionWithApplicables methodWithUriAndAutoDiscovery(final Method m, String uri) { try { final URL resource = new SmartDiscoverer("restito").discoverResource(m, uri); return new ConditionWithApplicables(composite(method(m), uri(uri)), resourceContent(resource)); } catch (IllegalArgumentException e) { logger.debug("Can not auto-discover resource for URI [{}]", uri); }