/** * The prefix, or name, of the service. * For example, in the url "http://localhost/echo/111/12345/xhr", 'echo' is the prefix. * * @param prefix the prefix/name of the SockJS service. */ public static Builder withPrefix(final String prefix) { ArgumentUtil.checkNotNullAndNotEmpty(prefix, "prefix"); return new Builder(prefix); }
/** * The prefix, or name, of the service. * For example, in the url "http://localhost/echo/111/12345/xhr", 'echo' is the prefix. * * @param prefix the prefix/name of the SockJS service. */ public static Builder withPrefix(final String prefix) { ArgumentUtil.checkNotNullAndNotEmpty(prefix, "prefix"); return new Builder(prefix); }