/** * Get the URI to the Servlet. * * @return the base URI, e.g. "http://localhost:8888/Test" */ public URI getFullURI() { return URI.create(getBaseURIAsString() + name); }
/** * Get the URI to the Servlet's context. * * @return the base URI, e.g. "http://localhost:8888/" */ public URI getBaseURI() { return URI.create(getBaseURIAsString()); }
/** * Get the URI to the Servlet's context. * * @return the base URI, e.g. "http://localhost:8888/" */ public URI getBaseURI() { return URI.create(getBaseURIAsString()); }
/** * Get the URI to the Servlet. * * @return the base URI, e.g. "http://localhost:8888/Test" */ public URI getFullURI() { return URI.create(getBaseURIAsString() + name); }