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 Modifier and Type Field Description static StringINSECURE_WEB_SOCKET_SCHEMEstatic StringSECURE_WEB_SOCKET_SCHEME
-
Constructor Summary
Constructors Modifier Constructor Description protectedWebSocketRemoteConnectionEndpoint(URI uri)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static WebSocketRemoteConnectionEndpointfrom(CharSequence uriCharSequence)static WebSocketRemoteConnectionEndpointfrom(URI uri)StringgetDescription()StringgetHost()Collection<? extends InetAddress>getInetAddresses()UInt16getPort()URIgetUri()abstract booleanisSecureEndpoint()StringtoString()-
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 Detail
-
INSECURE_WEB_SOCKET_SCHEME
public static final String INSECURE_WEB_SOCKET_SCHEME
- See Also:
- Constant Field Values
-
SECURE_WEB_SOCKET_SCHEME
public static final String SECURE_WEB_SOCKET_SCHEME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WebSocketRemoteConnectionEndpoint
protected WebSocketRemoteConnectionEndpoint(URI uri)
-
-
Method Detail
-
getHost
public final String getHost()
- Specified by:
getHostin interfaceRemoteConnectionEndpoint
-
getPort
public UInt16 getPort()
- Specified by:
getPortin interfaceRemoteConnectionEndpoint
-
isSecureEndpoint
public abstract boolean isSecureEndpoint()
-
getInetAddresses
public Collection<? extends InetAddress> getInetAddresses()
- Specified by:
getInetAddressesin interfaceRemoteConnectionEndpoint
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceRemoteConnectionEndpoint
-
from
public static WebSocketRemoteConnectionEndpoint from(CharSequence uriCharSequence) throws URISyntaxException
- Throws:
URISyntaxException
-
from
public static WebSocketRemoteConnectionEndpoint from(URI uri)
-
-