/** * Returns the host reference. This may be different from the resourceRef's * host, for example for URNs and other URIs that don't contain host * information. * * @return The host reference. */ @Override public Reference getHostRef() { return getWrappedRequest().getHostRef(); }
String nexusUrl = request.getHostRef().toString(); String servletPath = request.getOriginalRef().getPath(); String nexusPath = urlConverter.convertDeploy( servletPath );
String nexusUrl = request.getHostRef().toString(); String servletPath = request.getOriginalRef().getPath(); String nexusPath = urlConverter.convertDownload( servletPath );
} else if (variableName.startsWith("h")) { result = getReferenceContent(variableName.substring(1), this.request.getHostRef()); } else if (variableName.equals("m")) { if (this.request.getMethod() != null) {