org.mobicents.slee.resource.sip11
Class Utils
java.lang.Object
org.mobicents.slee.resource.sip11.Utils
public class Utils
- extends java.lang.Object
|
Constructor Summary |
Utils()
|
|
Method Summary |
static java.util.Set<java.lang.String> |
getDialogCreatingMethods()
|
static java.util.Set<java.lang.String> |
getHeadersToOmmitOnRequestCopy()
|
static java.util.Set<java.lang.String> |
getHeadersToOmmitOnResponseCopy()
|
static javax.sip.address.URI |
getRequestUri(javax.sip.message.Response response,
javax.sip.address.AddressFactory addressFactory)
Forges Request-URI using contact and To name par to address URI, this is
required on dialog fork, this is how target is determined |
static java.util.List<javax.sip.header.RouteHeader> |
getRouteList(javax.sip.message.Response response,
javax.sip.header.HeaderFactory headerFactory)
Generates route list the same way dialog does. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Utils
public Utils()
getDialogCreatingMethods
public static java.util.Set<java.lang.String> getDialogCreatingMethods()
- Returns:
getHeadersToOmmitOnRequestCopy
public static java.util.Set<java.lang.String> getHeadersToOmmitOnRequestCopy()
- Returns:
getHeadersToOmmitOnResponseCopy
public static java.util.Set<java.lang.String> getHeadersToOmmitOnResponseCopy()
- Returns:
getRouteList
public static java.util.List<javax.sip.header.RouteHeader> getRouteList(javax.sip.message.Response response,
javax.sip.header.HeaderFactory headerFactory)
throws java.text.ParseException
- Generates route list the same way dialog does.
- Parameters:
response -
- Returns:
-
- Throws:
java.text.ParseException
getRequestUri
public static javax.sip.address.URI getRequestUri(javax.sip.message.Response response,
javax.sip.address.AddressFactory addressFactory)
throws java.text.ParseException
- Forges Request-URI using contact and To name par to address URI, this is
required on dialog fork, this is how target is determined
- Parameters:
response -
- Returns:
-
- Throws:
java.text.ParseException
Copyright © 2012. All Rights Reserved.