public interface XDMClientChild
| Modifier and Type | Method and Description |
|---|---|
void |
delete(URI uri,
org.mobicents.xcap.client.auth.Credentials credentials)
Deletes the content related the specified XCAP URI.
|
void |
delete(URI uri,
String assertedUserId)
Deletes the content related the specified XCAP URI.
|
void |
deleteIfMatch(URI uri,
String eTag,
org.mobicents.xcap.client.auth.Credentials credentials)
Deletes the content related the specified XCAP URI, if the specified
ETag matches the current one on the server.
|
void |
deleteIfMatch(URI uri,
String eTag,
String assertedUserId)
Deletes the content related the specified XCAP URI, if the specified
ETag matches the current one on the server.
|
void |
deleteIfNoneMatch(URI uri,
String eTag,
org.mobicents.xcap.client.auth.Credentials credentials)
Deletes the content related the specified XCAP URI, if the specified
ETag does not matches the current one on the server.
|
void |
deleteIfNoneMatch(URI uri,
String eTag,
String assertedUserId)
Deletes the content related the specified XCAP URI, if the specified
ETag does not matches the current one on the server.
|
void |
get(URI uri,
org.mobicents.xcap.client.auth.Credentials credentials)
Retrieves the XML resource from the XCAP server, for the specified uri.
|
void |
get(URI uri,
String assertedUserId)
Retrieves the XML resource from the XCAP server, for the specified uri.
|
org.mobicents.xcap.client.auth.CredentialsFactory |
getCredentialsFactory()
Retrieves the factory to create request authentication credentials.
|
void |
put(URI uri,
String mimetype,
byte[] content,
org.mobicents.xcap.client.auth.Credentials credentials)
Puts the specified content in the XCAP Server.
|
void |
put(URI uri,
String mimetype,
byte[] content,
String assertedUserId)
Puts the specified content in the XCAP Server.
|
void |
putIfMatch(URI uri,
String eTag,
String mimetype,
byte[] content,
org.mobicents.xcap.client.auth.Credentials credentials)
Puts the specified content in the XCAP Server, if the specified ETag matches the current one on the server.
|
void |
putIfMatch(URI uri,
String eTag,
String mimetype,
byte[] content,
String assertedUserId)
Puts the specified content in the XCAP Server, if the specified ETag matches the current one on the server.
|
void |
putIfNoneMatch(URI uri,
String eTag,
String mimetype,
byte[] content,
org.mobicents.xcap.client.auth.Credentials credentials)
Puts the specified content in the XCAP Server, if the specified ETag does not matches the current one on the
server.
|
void |
putIfNoneMatch(URI uri,
String eTag,
String mimetype,
byte[] content,
String assertedUserId)
Puts the specified content in the XCAP Server, if the specified ETag does not matches the current one on the
server.
|
void |
subscribe(String subscriber,
String notifier,
int expires,
String[] resourceURIs)
Method which triggers subscription to changes in XDMS resources.
|
void |
unsubscribe(String subscriber,
String notifier)
Terminates a subscription to changes in XDMS resources.
|
org.mobicents.xcap.client.auth.CredentialsFactory getCredentialsFactory()
void get(URI uri, org.mobicents.xcap.client.auth.Credentials credentials) throws IOException
uri - the request uricredentials - authentication credentials, can be null for requests that
don't need authentication.IOExceptionvoid get(URI uri, String assertedUserId) throws IOException
uri - the request uriassertedUserId - user id already authenticatedIOExceptionvoid put(URI uri, String mimetype, byte[] content, org.mobicents.xcap.client.auth.Credentials credentials) throws IOException
uri - the request urimimetype - the mimetype of the content to put, for document each XCAP App
Usage defines their own mimetype, but for elements and
attributes you can use ElementResource and
AttributeResource static MIMETYPE fields.content - credentials - authentication credentials, can be null for requests that
don't need authentication.IOExceptionvoid put(URI uri, String mimetype, byte[] content, String assertedUserId) throws IOException
uri - the request urimimetype - the mimetype of the content to put, for document each XCAP App
Usage defines their own mimetype, but for elements and
attributes you can use ElementResource and
AttributeResource static MIMETYPE fields.content - assertedUserId - user id already authenticatedIOExceptionvoid putIfMatch(URI uri, String eTag, String mimetype, byte[] content, org.mobicents.xcap.client.auth.Credentials credentials) throws IOException
uri - the request urieTag - mimetype - the mimetype of the content to put, for document each XCAP App
Usage defines their own mimetype, but for elements and
attributes you can use ElementResource and
AttributeResource static MIMETYPE fields.content - credentials - authentication credentials, can be null for requests that
don't need authentication.IOExceptionvoid putIfMatch(URI uri, String eTag, String mimetype, byte[] content, String assertedUserId) throws IOException
uri - the request urieTag - mimetype - the mimetype of the content to put, for document each XCAP App
Usage defines their own mimetype, but for elements and
attributes you can use ElementResource and
AttributeResource static MIMETYPE fields.content - assertedUserId - user id already authenticatedIOExceptionvoid putIfNoneMatch(URI uri, String eTag, String mimetype, byte[] content, org.mobicents.xcap.client.auth.Credentials credentials) throws IOException
uri - the request urieTag - mimetype - the mimetype of the content to put, for document each XCAP App
Usage defines their own mimetype, but for elements and
attributes you can use ElementResource and
AttributeResource static MIMETYPE fields.content - credentials - authentication credentials, can be null for requests that
don't need authentication.IOExceptionvoid putIfNoneMatch(URI uri, String eTag, String mimetype, byte[] content, String assertedUserId) throws IOException
uri - the request urieTag - mimetype - the mimetype of the content to put, for document each XCAP App
Usage defines their own mimetype, but for elements and
attributes you can use ElementResource and
AttributeResource static MIMETYPE fields.content - assertedUserId - user id already authenticatedIOExceptionvoid delete(URI uri, org.mobicents.xcap.client.auth.Credentials credentials) throws IOException
uri - the request uricredentials - authentication credentials, can be null for requests that
don't need authentication.IOExceptionvoid delete(URI uri, String assertedUserId) throws IOException
uri - the request uriassertedUserId - user id already authenticatedIOExceptionvoid deleteIfMatch(URI uri, String eTag, org.mobicents.xcap.client.auth.Credentials credentials) throws IOException
uri - the request urieTag - credentials - authentication credentials, can be null for requests that
don't need authentication.IOExceptionvoid deleteIfMatch(URI uri, String eTag, String assertedUserId) throws IOException
uri - the request urieTag - assertedUserId - user id already authenticatedIOExceptionvoid deleteIfNoneMatch(URI uri, String eTag, org.mobicents.xcap.client.auth.Credentials credentials) throws IOException
uri - the request urieTag - credentials - authentication credentials, can be null for requests that
don't need authentication.IOExceptionvoid deleteIfNoneMatch(URI uri, String eTag, String assertedUserId) throws IOException
uri - the request urieTag - assertedUserId - user id already authenticatedIOExceptionvoid subscribe(String subscriber, String notifier, int expires, String[] resourceURIs) throws org.mobicents.slee.enabler.sip.SubscriptionException
subscriber - - address that identifies local entitynotifier - - address that identifies the resource being subscribed (ie. XCAP Diff entity), ie. sip:tests@xcap.example.comexpires - - duration of subscription, in seconds.resourceURIs - - array of resource uris to which enabler will subscribe, ie. String{}[resource-lists/users/sip:joe@example.com/index,rls-services/users/sip:joe@example.com/index/~~/*\/service%5b@uri='sip:marketing@example.com'%5d]org.mobicents.slee.enabler.sip.SubscriptionExceptionCopyright © 2017. All rights reserved.