Class XmppWebSocketTransportModuleDescriptor.Builder

java.lang.Object
org.jivesoftware.smack.c2s.ModularXmppClientToServerConnectionModuleDescriptor.Builder
org.jivesoftware.smack.websocket.XmppWebSocketTransportModuleDescriptor.Builder
Enclosing class:
XmppWebSocketTransportModuleDescriptor

Builder class for XmppWebSocketTransportModuleDescriptor.
To obtain an instance of XmppWebSocketTransportModuleDescriptor.Builder, use XmppWebSocketTransportModuleDescriptor.getBuilder(ModularXmppClientToServerConnectionConfiguration.Builder) method.
Use explicitlySetWebSocketEndpoint(URI) to configure the URI of an endpoint as a backup in case connection couldn't be established with endpoints through http lookup.
Use explicitlySetWebSocketEndpointAndDiscovery(URI, boolean) to configure endpoint and disallow websocket endpoint discovery through http lookup. By default, performWebSocketEndpointDiscovery is set to true.
Use build() to obtain XmppWebSocketTransportModuleDescriptor.