Skip navigation links


javax.servlet.sip.ar
Class SipTargetedRequestInfo

java.lang.Object
  extended by javax.servlet.sip.ar.SipTargetedRequestInfo


public class SipTargetedRequestInfo
extends java.lang.Object

The SipTargetedRequestInfo class encapsulates the information that the container provides to the application router when the container calls the SipApplicationRouter.getNextApplication() method and the initial request is a targeted one.

Since:
1.1

Constructor Summary
SipTargetedRequestInfo(SipTargetedRequestType targetedRequestType, java.lang.String applicationName)
          Creates a SipTargetedRequestInfo object containing information necessary to help the application router make its application selection decision when the request is targeted.

 

Method Summary
 java.lang.String getApplicationName()
           
 SipTargetedRequestType getType()
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

SipTargetedRequestInfo

public SipTargetedRequestInfo(SipTargetedRequestType targetedRequestType,
                              java.lang.String applicationName)
Creates a SipTargetedRequestInfo object containing information necessary to help the application router make its application selection decision when the request is targeted. This information includes the type of targeted request and the name of the targeted application.
Parameters:
targetedRequestType - Targeted request type {ENCODED_URI, JOIN, REPLACES}
applicationName - The name of the application targeted by the request.

Method Detail

getApplicationName

public java.lang.String getApplicationName()
Returns:
name of next application selected. If the route is external then this returns null.

getType

public SipTargetedRequestType getType()
Returns:
The type of the targeted request, one of: {JOIN, REPLACES, ENCODED_URI}

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