javax.servlet.sip.ar
Class SipTargetedRequestInfo
java.lang.Object
javax.servlet.sip.ar.SipTargetedRequestInfo
public class SipTargetedRequestInfo
- extends 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 type,
String applicationName)
Creates a SipTargetedRequestInfo object containing information necessary to help the application router make its application selection decision when the request is targeted. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SipTargetedRequestInfo
public SipTargetedRequestInfo(SipTargetedRequestType type,
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:
type - Targeted request type {ENCODED_URI, JOIN, REPLACES}applicationName - The name of the application targeted by the request.
getApplicationName
public String getApplicationName()
- Returns:
- the applicationName
getType
public SipTargetedRequestType getType()
- Returns:
- the type
Copyright © 2012. All Rights Reserved.