/** * Gets the nuxeo connection props. * * @return the nuxeo connection props */ public NuxeoConnectionProperties getNuxeoConnectionProps() { if (this.nuxeoConnection == null) { this.nuxeoConnection = new NuxeoConnectionProperties(); } return this.nuxeoConnection; }
/** * Gets the nuxeo public base uri. * * @return the nuxeo public base uri */ public URI getNuxeoPublicBaseUri() { if (this.nuxeoBaseURI == null) { this.nuxeoBaseURI = NuxeoConnectionProperties.getPublicBaseUri(); } return this.nuxeoBaseURI; }
/** * Getter for Nuxeo public base URI (with context). * * @return Nuxeo public base URI */ public static final URI getPublicBaseUri() { try { String domain = getPublicDomainUri().toString(); return new URI(domain + NUXEO_CONTEXT); } catch (Exception e) { throw new RuntimeException(e); } }