mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-09 00:59:39 +02:00
Merge branch '4.4'
This commit is contained in:
commit
e51bfb1dbe
2 changed files with 12 additions and 1 deletions
|
@ -77,7 +77,8 @@ public final class BOSHConfiguration extends ConnectionConfiguration {
|
|||
}
|
||||
|
||||
public URI getURI() throws URISyntaxException {
|
||||
return new URI((https ? "https://" : "http://") + this.host + ":" + this.port + file);
|
||||
String uri = https ? "https://" : "http://" + getHostString() + ":" + this.port + file;
|
||||
return new URI(uri);
|
||||
}
|
||||
|
||||
public Map<String, String> getHttpHeaders() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue