Skip navigation links


javax.servlet.sip.annotation
Annotation Type SipApplicationKey


@Target(value=METHOD)
@Retention(value=RUNTIME)
@Inherited
public @interface SipApplicationKey

The @SipApplicationKey annotation is used when the application wants to associate the incoming request (and SipSession) with a certain SipApplicationSession. The method annotated with the @SipApplicationKey annotation MUST have the following restrictions:

  1. It MUST be public and static
  2. It MUST return a String
  3. It MUST have a single argument of type SipServletRequest
  4. It MUST not modify the SipServletRequest passed in

If the annotated method signature does not comply with the first three rules, deployment of such an application MUST fail.

Since:
1.1

Optional Element Summary
 java.lang.String applicationName
           

 

applicationName

public abstract java.lang.String applicationName
Default:
""

Skip navigation links

Copyright 1996, 2010, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Java SIP Servlet API 1.1 Reference

Part Number E17883-01