Skip navigation links
javax.servlet.sip.ar
Enum SipRouteModifier
java.lang.Object
java.lang.Enum<SipRouteModifier>
javax.servlet.sip.ar.SipRouteModifier
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<SipRouteModifier>
-
public enum SipRouteModifier
- extends java.lang.Enum<SipRouteModifier>
Route modifiers as returned by the Application Router, used to interpret the routes returned from the router.
- Since:
- 1.1
- See Also:
SipApplicationRouterInfo.getRouteModifier()
, SipApplicationRouterInfo.getRoutes()
Method Summary |
static SipRouteModifier |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SipRouteModifier[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
ROUTE
public static final SipRouteModifier ROUTE
- Indicates that the routes returned by
SipApplicationRouterInfo.getRoutes()
are valid.
ROUTE_BACK
public static final SipRouteModifier ROUTE_BACK
- Tells the container to push a route back to itself before pusing the external routes specified by
SipApplicationRouterInfo.getRoutes()
.
NO_ROUTE
public static final SipRouteModifier NO_ROUTE
- Indicates that the value returned by
SipApplicationRouterInfo.getRoutes()
does not contain any valid routes and should be ignored.
values
public static SipRouteModifier[] values()
- Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SipRouteModifier c : SipRouteModifier.values())
System.out.println(c);
-
- Returns:
- an array containing the constants of this enum type, in the order they are declared
valueOf
public static SipRouteModifier valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified name
java.lang.NullPointerException
- if the argument is null
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