Modifier and Type | Method and Description |
---|---|
static BOSHClientConfig.Builder |
BOSHClientConfig.Builder.create(BOSHClientConfig cfg)
Creates a new builder instance using the existing configuration
provided as a starting point.
|
static BOSHClientConfig.Builder |
BOSHClientConfig.Builder.create(URI cmURI,
String domain)
Creates a new builder instance, used to create instances of the
BOSHClientConfig class. |
BOSHClientConfig.Builder |
BOSHClientConfig.Builder.setCompressionEnabled(boolean enabled)
Set whether or not compression of the underlying data stream
should be attempted.
|
BOSHClientConfig.Builder |
BOSHClientConfig.Builder.setFrom(String id)
Set the ID of the client station, to be forwarded to the connection
manager when new sessions are created.
|
BOSHClientConfig.Builder |
BOSHClientConfig.Builder.setProxy(String hostName,
int port)
Specify the hostname and port of an HTTP proxy to connect through.
|
BOSHClientConfig.Builder |
BOSHClientConfig.Builder.setRoute(String protocol,
String host,
int port)
Sets the destination server/domain that the client should connect to.
|
BOSHClientConfig.Builder |
BOSHClientConfig.Builder.setSSLContext(SSLContext ctx)
Set the SSL context to use for this session.
|
BOSHClientConfig.Builder |
BOSHClientConfig.Builder.setXMLLang(String lang)
Set the default language of any human-readable content within the
XML.
|
Copyright © 2018. All rights reserved.