Merge pull request #530 from Flowdalic/fix-bosh-url
[bosh] Fix BOSHConfiguration.getURI()
This commit is contained in:
commit
52a3490e07
|
@ -77,7 +77,7 @@ public final class BOSHConfiguration extends ConnectionConfiguration {
|
||||||
}
|
}
|
||||||
|
|
||||||
public URI getURI() throws URISyntaxException {
|
public URI getURI() throws URISyntaxException {
|
||||||
String uri = https ? "https://" : "http://" + getHostString() + ":" + this.port + file;
|
String uri = (https ? "https://" : "http://") + getHostString() + ":" + this.port + file;
|
||||||
return new URI(uri);
|
return new URI(uri);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue