Class WebSocketRemoteConnectionEndpoint
java.lang.Object
org.jivesoftware.smack.websocket.rce.WebSocketRemoteConnectionEndpoint
- All Implemented Interfaces:
RemoteConnectionEndpoint
- Direct Known Subclasses:
InsecureWebSocketRemoteConnectionEndpoint
,SecureWebSocketRemoteConnectionEndpoint
public abstract class WebSocketRemoteConnectionEndpoint
extends Object
implements RemoteConnectionEndpoint
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jivesoftware.smack.util.rce.RemoteConnectionEndpoint
RemoteConnectionEndpoint.InetSocketAddressCoupling<RCE extends RemoteConnectionEndpoint>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfrom
(CharSequence uriCharSequence) final String
getHost()
Collection<? extends InetAddress>
getPort()
final URI
getUri()
abstract boolean
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.jivesoftware.smack.util.rce.RemoteConnectionEndpoint
getRawString
-
Field Details
-
INSECURE_WEB_SOCKET_SCHEME
- See Also:
-
SECURE_WEB_SOCKET_SCHEME
- See Also:
-
-
Constructor Details
-
WebSocketRemoteConnectionEndpoint
-
-
Method Details
-
getUri
-
getHost
- Specified by:
getHost
in interfaceRemoteConnectionEndpoint
-
getPort
- Specified by:
getPort
in interfaceRemoteConnectionEndpoint
-
isSecureEndpoint
-
getInetAddresses
- Specified by:
getInetAddresses
in interfaceRemoteConnectionEndpoint
-
getDescription
- Specified by:
getDescription
in interfaceRemoteConnectionEndpoint
-
toString
-
from
public static WebSocketRemoteConnectionEndpoint from(CharSequence uriCharSequence) throws URISyntaxException - Throws:
URISyntaxException
-
from
-