|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HttpXCapClient
HTTP XCAP client interface.
Compliant with rfc4825
| Method Summary | |
|---|---|
void |
connect(URI uri,
javax.sip.address.Address userAddress,
String username,
String password)
Connects user to XCAP server. |
XCapHttpResponse |
delete(XCapResourceId resourceId)
Deletes the resource from the server. |
void |
disconnect()
Disconnects user from the XCAP server. |
XCapHttpResponse |
get(XCapResourceId resourceId)
Gets the resource from the server. |
int |
getTimeout()
Gets operation timeout. |
URI |
getUri()
Gets the XCAP server location. |
String |
getUserName()
Gets connected user name. |
boolean |
isConnected()
Checks if user is connected to the XCAP server. |
XCapHttpResponse |
put(XCapResource resource)
Puts the resource to the server. |
void |
setTimeout(int timeout)
Sets operation timeout. |
| Method Detail |
|---|
void connect(URI uri,
javax.sip.address.Address userAddress,
String username,
String password)
throws XCapException
uri - the server location.userAddress - the URI of the user used for requestsusername - the user name.password - the user password.
XCapException - if there is some error during operation.void disconnect()
boolean isConnected()
XCapHttpResponse get(XCapResourceId resourceId)
throws XCapException
resourceId - resource identifier.
IllegalStateException - if the user has not been connected.
XCapException - if there is some error during operation.
XCapHttpResponse put(XCapResource resource)
throws XCapException
resource - the resource to be saved on the server.
IllegalStateException - if the user has not been connected.
XCapException - if there is some error during operation.
XCapHttpResponse delete(XCapResourceId resourceId)
throws XCapException
resourceId - resource identifier.
IllegalStateException - if the user has not been connected.
XCapException - if there is some error during operation.String getUserName()
URI getUri()
int getTimeout()
void setTimeout(int timeout)
timeout - operation timeout.
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||