Restlet Framework 2.2.3
Android

org.restlet.ext.sip
Annotation Type Cancel


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

Cancels any pending request. Its semantics is equivalent to a SIP CANCEL method.

Author:
Jerome Louvel
See Also:
RFC 3261 - 15.1 Canceling a Request

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

value

public abstract java.lang.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:
""

Restlet Framework 2.2.3
Android

Copyright © 2005-2014 Restlet.