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 String
INSECURE_WEB_SOCKET_SCHEME
static String
SECURE_WEB_SOCKET_SCHEME
-
Constructor Summary
Constructors Modifier Constructor Description protected
WebSocketRemoteConnectionEndpoint(URI uri)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static WebSocketRemoteConnectionEndpoint
from(CharSequence uriCharSequence)
static WebSocketRemoteConnectionEndpoint
from(URI uri)
String
getDescription()
String
getHost()
Collection<? extends InetAddress>
getInetAddresses()
UInt16
getPort()
URI
getUri()
abstract boolean
isSecureEndpoint()
String
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 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:
getHost
in interfaceRemoteConnectionEndpoint
-
getPort
public UInt16 getPort()
- Specified by:
getPort
in interfaceRemoteConnectionEndpoint
-
isSecureEndpoint
public abstract boolean isSecureEndpoint()
-
getInetAddresses
public Collection<? extends InetAddress> getInetAddresses()
- Specified by:
getInetAddresses
in interfaceRemoteConnectionEndpoint
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceRemoteConnectionEndpoint
-
from
public static WebSocketRemoteConnectionEndpoint from(CharSequence uriCharSequence) throws URISyntaxException
- Throws:
URISyntaxException
-
from
public static WebSocketRemoteConnectionEndpoint from(URI uri)
-
-