org.restlet.ext.sip
Annotation Type Register


@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface Register

Registers the address listed in the To header field with a SIP server. Its semantics is equivalent to a SIP REGISTER method.

Author:
Jerome Louvel
See Also:
RFC 3261 - 10.2 Constructing the REGISTER Request

Optional Element Summary
 String value
          Specifies the media type extension of the response entity.
 

value

public abstract String value
Specifies the media type extension of the response entity. If several media types are supported, their extension can be specified separated by "|" characters. Note that this isn't the full MIME type value, just the extension name declared in MetadataService. For a list of all predefined extensions, please check MetadataService.addCommonExtensions(). New extension can be registered using MetadataService.addExtension(String, org.restlet.data.Metadata) method.

Returns:
The result media types.
Default:
""


Copyright © 2005-2013 Restlet.