/** * Constructor. * * @param restUrl The absolute URL of the REST interface backing the interface proxy. * @param m The Java method. */ public RemoteInterfaceMethod(final String restUrl, Method m) { this.method = m; this.path = m.getName() + '/' + HttpUtils.getMethodArgsSignature(m, true); this.url = trimSlashes(restUrl) + '/' + urlEncode(path); }
/** * Constructor. * * @param restUrl The absolute URL of the REST interface backing the interface proxy. * @param m The Java method. */ public RemoteInterfaceMethod(final String restUrl, Method m) { this.method = m; this.path = m.getName() + '/' + HttpUtils.getMethodArgsSignature(m, true); this.url = trimSlashes(restUrl) + '/' + urlEncode(path); }
/** * Constructor. * * @param restUrl The absolute URL of the REST interface backing the interface proxy. * @param m The Java method. */ public RemoteInterfaceMethod(final String restUrl, Method m) { this.method = m; this.path = m.getName() + '/' + HttpUtils.getMethodArgsSignature(m, true); this.url = trimSlashes(restUrl) + '/' + urlEncode(path); }
path = HttpUtils.detectHttpPath(m, ! useMethodSignatures); if (useMethodSignatures) path += HttpUtils.getMethodArgsSignature(m, true);
path = HttpUtils.detectHttpPath(m, ! useMethodSignatures); if (useMethodSignatures) path += HttpUtils.getMethodArgsSignature(m, true);
path = HttpUtils.detectHttpPath(m, ! useMethodSignatures); if (useMethodSignatures) path += HttpUtils.getMethodArgsSignature(m, true);