public class UriManager
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
UriManager.uritypes |
Constructor and Description |
---|
UriManager() |
Modifier and Type | Method and Description |
---|---|
void |
handleConference(java.net.URI uri)
Handles the ?join URI
|
void |
handleMessage(java.net.URI uri)
handles the ?message URI
|
void |
handleRemove(java.net.URI uri)
Handles the ?remove URI
|
void |
handleRoster(java.net.URI uri)
Handles the ?roster URI
with name= and group= |
void |
handleSubscribe(java.net.URI uri)
Handles the ?subscribe URI
|
void |
handleUnsubscribe(java.net.URI uri)
Handles the ?unsubscribe URI
|
java.lang.String |
retrieveJID(java.net.URI uri)
Gets JID from URI.
|
public void handleMessage(java.net.URI uri)
uri
- the decoded uripublic void handleConference(java.net.URI uri) throws java.lang.Exception
uri
- the decoded urijava.lang.Exception
- thrown if the conference cannot be joined.public void handleSubscribe(java.net.URI uri) throws java.lang.Exception
uri
- the decoded urijava.lang.Exception
public void handleUnsubscribe(java.net.URI uri) throws org.jivesoftware.smack.SmackException.NotConnectedException
uri
- the decoded uriorg.jivesoftware.smack.SmackException.NotConnectedException
public void handleRoster(java.net.URI uri) throws java.lang.Exception
uri
- the decoded urijava.lang.Exception
public void handleRemove(java.net.URI uri) throws java.lang.Exception
uri
- the decoded urijava.lang.Exception
public java.lang.String retrieveJID(java.net.URI uri)
uri
- the URI